Marco Pivetta
|
cbe4987e18
|
Using Doctrine\Common\Util\ClassUtil for class_name resolutionThis avoids exceptions when passing a Proxy instance to the public API of the EntityManager, ClassMetadataFactory or UnitOfWork when the Proxy itself isn't generated by the EntityManager itself, while discovering the correct ClassMetadata instance for the proxy
|
2012-04-07 18:53:33 +02:00 |
|
Benjamin Eberlei
|
0b3577f2d2
|
[DDC-1766] Rewrite getHydrationCacheId() to use existing processParameterValue() method. Other code style changes.
|
2012-04-05 22:40:40 +02:00 |
|
Benjamin Eberlei
|
1095fb39cb
|
[DDC-1766] More cleanups
|
2012-04-05 00:27:23 +02:00 |
|
Benjamin Eberlei
|
f7496b1482
|
[DDC-1766] Cleaned up code.
|
2012-04-05 00:26:09 +02:00 |
|
Benjamin Eberlei
|
d31c7f5e2b
|
[DDC-1766] Explain details of Hydration cache, introduce AbstractQuery#setResultCacheProfile method
|
2012-04-04 23:55:14 +02:00 |
|
Benjamin Eberlei
|
c32a77e6be
|
[DDC-1766] Add usage of default result cache driver, add more docs.
|
2012-04-04 23:47:32 +02:00 |
|
Benjamin Eberlei
|
306f9e0ca2
|
[DDC-1766] Rename closure
|
2012-04-04 23:21:06 +02:00 |
|
Benjamin Eberlei
|
3047c4b955
|
[DDC-1766] Initial implementation of hydration cache.
|
2012-04-04 23:10:30 +02:00 |
|
Fabio B. Silva
|
df8626b949
|
Fix DDC-1697
|
2012-03-24 22:50:54 -03:00 |
|
Guilherme Blanco
|
2a399312f7
|
Coding style fixes.
|
2012-03-15 01:03:01 -04:00 |
|
Benjamin Eberlei
|
bd1bc07270
|
[DDC-1651] Convert entities as parameters early in setParameter() to avoid them being part of result cache strings, which causes non-uniqueness.
|
2012-02-18 16:07:55 +01:00 |
|
Benjamin Eberlei
|
adec530c13
|
Merge branch '2.2'
|
2012-01-09 08:26:33 +01:00 |
|
Benjamin Eberlei
|
41ae873048
|
DDC-1588 - Improve ResultCache API. The default cache impl is passed to new query cache profiles automatically now.
|
2012-01-09 08:26:07 +01:00 |
|
Jan Dolecek
|
12c3a42d8c
|
fixed phpDoc and typos
|
2011-12-30 20:06:20 +01:00 |
|
Benjamin Eberlei
|
cd6131c9b8
|
Remove all trailing whitespaces
|
2011-12-19 22:56:19 +01:00 |
|
Andrew Mackrodt
|
2fdb55a878
|
Added absolute namespace paths to phpdoc annotations - issue DDC-1025.
|
2011-12-11 21:56:26 +00:00 |
|
Guilherme Blanco
|
5e3e8b3957
|
More refactorings and optimizations.
|
2011-12-01 10:00:26 -05:00 |
|
Adrien BRAULT
|
e39bfced4a
|
Fix iterate method doc return type
|
2011-10-29 13:40:01 +02:00 |
|
Benjamin Eberlei
|
adc4840cce
|
DDC-217 - Add support for QueryCacheProfiles and remove the old result caching code from ORM. Deprecate a bunch of methods in favor of using the AbstractQuery#getQueryCacheProfile method.
|
2011-10-23 23:28:23 +02:00 |
|
Guilherme Blanco
|
e7f471ef3e
|
Fixed issue with CTI during DQL update that was incorrectly setting parameter types during multi table execution. Fixes DDC-1341.
|
2011-08-28 13:48:15 -03:00 |
|
Guilherme Blanco
|
f148912a28
|
[DDC-934][DDC-1100][DDC-1331] Implemented support to multi-values in INSTANCE OF expression.
|
2011-08-15 01:53:56 -03:00 |
|
Guilherme Blanco
|
8e3fdc5adc
|
[DDC-1148] Implement auto-inference of types in setParameter.
|
2011-05-12 23:05:45 -03:00 |
|
Guilherme Blanco
|
54a0109d5d
|
[DDC-1147] Allowed usage of 0-based input parameters in DQL.
|
2011-05-11 17:30:42 -03:00 |
|
Benjamin Eberlei
|
5d1905de13
|
DDC-1120 - Fix comment
|
2011-05-01 12:17:09 +02:00 |
|
Benjamin Eberlei
|
ea52b3cc8f
|
[DDC-991] Rename method to AbstractQuery::getOneOrNullResult().
|
2011-03-31 23:35:01 +02:00 |
|
Benjamin Eberlei
|
24a7a72f59
|
[DDC-991] add AbstractQuery::getOneResult() method that returns null instead of throwing an exception as getSingleResult() does.
|
2011-03-31 23:32:49 +02:00 |
|
Benjamin Eberlei
|
62755cc647
|
[DDC-1070] Fix in AbstractQuery::iterate() method not respecting hydrator and parameters.
|
2011-03-20 12:19:01 +01:00 |
|
Benjamin Eberlei
|
5192306d39
|
[DDC-952] One last commit with some refactorings, additional comments and two new tests. Also added convenience method Query::setFetchMode($className, $assocName)
|
2011-03-16 22:51:32 +01:00 |
|
Benjamin Eberlei
|
a04ba44874
|
[DDC-952] Introduced SimpleObjectHydrator again for performance reasons.
|
2011-03-15 19:48:04 +01:00 |
|
Benjamin Eberlei
|
1eb7f92956
|
DDC-1026 - Fix Result Cache Seperate chaining implementation that was wrong since DDC-892 was applied.
|
2011-02-26 00:39:54 +01:00 |
|
Romain Pouclet
|
9125413786
|
Fixed typo in AbstractQuery::execute() doc
|
2011-02-25 10:22:50 -06:00 |
|
Benjamin Eberlei
|
3515df913f
|
DDC-892 - Implement separate chaining approach for result caches to prevent hash colissions.
|
2011-01-23 20:54:29 +01:00 |
|
Benjamin Eberlei
|
f1809ce180
|
DDC-968 - Add AbstractQuery::getHints() method
|
2011-01-23 16:47:07 +01:00 |
|
Benjamin Eberlei
|
3c0f92f4c7
|
Remove call to EntityManager#flush() if the unitofwork contains pending insertions. Flush should always be triggered explicitly.
|
2010-12-11 00:54:54 +01:00 |
|
Benjamin Eberlei
|
8e4197adc5
|
DDC-909 - Fix Result Cache with entities as parameters.
|
2010-12-03 17:34:56 +01:00 |
|
Benjamin Eberlei
|
0b5c694a7e
|
DDC-778 - Fix AbstractQuery::__clone implementation that was wrongly implemented in DDC-770. Added more tests.
|
2010-08-30 20:30:11 +02:00 |
|
Benjamin Eberlei
|
8a21ab4755
|
DDC-770 - Cleanup Query instance when its cloned
|
2010-08-27 21:28:26 +02:00 |
|
Benjamin Eberlei
|
1067118174
|
DDC-568 - Fix bug with hints not being passed to hydrator by AbstractQuery::iterate()
|
2010-05-15 21:52:59 +02:00 |
|
Roman S. Borschel
|
d4232d906e
|
[DDC-388] Fixed.
|
2010-04-14 17:07:08 +02:00 |
|
Roman S. Borschel
|
4106002344
|
Small refactorings.
|
2010-04-14 10:46:35 +02:00 |
|
guilhermeblanco
|
511bf2248e
|
[2.0] Fixed and added some missing/wrong docblocks. Renamed Assigned to AssignedGenerator as scheduled to be renamed.
|
2010-03-30 21:14:17 +00:00 |
|
romanb
|
354ede1e04
|
[2.0][DDC-354][DDC-425] Fixed. Encapsulated SQL logging better in the DBAL. Added binding types to DBAL mapping types as well as using these binding types in the persisters. Query and NativeQuery now support PDO binding types as well as DBAL mapping types when binding parameters.
|
2010-03-29 13:20:41 +00:00 |
|
guilhermeblanco
|
50c4e50921
|
[2.0][DDC-459] Moved Doctrine\ORM\AbstractQuery to Doctrine\ORM\Query\AbstractQuery, which is compatible with Doctrine Coding Standards
|
2010-03-23 17:53:38 +00:00 |
|
romanb
|
a53c2fbd6c
|
[2.0] Code cleanups. Preparations for DDC-193. Fixed DDC-399, type configuration remains global for now but the irritating instance methods on the Configuration have been removed. Use Type::addType et al. Added TODOs for naming standards.
|
2010-03-15 17:19:00 +00:00 |
|
romanb
|
df6ca602fb
|
[2.0][DDC-92] Fixed. Patch provided by Christian Heinrich. [DDC-274] Started some method renaming. [DDC-142] Fixed (join column names and discriminator column names dont support quoting) [DDC-258] Fixed.
|
2010-03-05 16:35:00 +00:00 |
|
romanb
|
e235044c47
|
[2.0] Fixed query and result cache to work nice together and avoid unnecessary cache lookups.
|
2010-02-25 15:47:20 +00:00 |
|
beberlei
|
5a96217d4d
|
[2.0] DDC-328 - Query and Result Cache Keys now depend on the hydrationMode also
|
2010-02-13 21:42:09 +00:00 |
|
beberlei
|
04832e2789
|
[2.0] DDC-125 - Query Hints are now included in both QueryCache and ResultCache - QueryCache now also uses firstResult and maxResults for the cache key - ResultCache was fixed to use "getSql()" instead of "getDql()"
|
2010-02-10 19:09:25 +00:00 |
|
beberlei
|
54010a55b0
|
[2.0] DDC-309 - Allow multiple IteratbleResult instances and work on them concurrently.
|
2010-02-09 19:58:04 +00:00 |
|
romanb
|
4adc289596
|
[2.0][DDC-284] Fixed. API polish and some convention over configuration simplifications for join columns and join tables.
|
2010-02-09 17:13:49 +00:00 |
|