1
0
mirror of synced 2024-12-13 22:56:04 +03:00
Commit Graph

106 Commits

Author SHA1 Message Date
beberlei
a0fc09855b [2.0] DDC-353 - Fix UnitOfWork::createEntity and StandardPersister::refresh() not marking created Proxy instances as MANAGED like EntityManager::getReference() does 2010-02-28 14:14:44 +00:00
romanb
a1a8093888 [2.0] First draft for onFlush event. 2010-02-24 19:19:04 +00:00
beberlei
e5ed3f66ac [2.0] DDC-351 - Fix Delete in JoinedSubclassPersister 2010-02-19 22:49:03 +00:00
beberlei
31b0705ed5 [2.0] DDC-336 DDC-337 - Changed @OrderBy annotation to take a DQL not SQL snippet, restrict it to field names and positional orderings. Changed all test-cases and added a test-case that shows the behaviour for OneToMany JoinedSubclassPersister Managed Entities. 2010-02-15 22:50:35 +00:00
beberlei
30d1b54db1 [2.0] DDC-337 - Collections that are fetched through StandardEntityPersister and ordered are sorted by any given ORDER BY snippet. Now only the DQL Parser is missing in this regard. 2010-02-14 21:21:43 +00:00
romanb
da582e1125 [2.0] Fixed hardcoded version field access in optimistic locking. 2010-02-14 10:48:25 +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
beberlei
98a77d9387 [2.0] Add missing Docblock comments in AbstractCollectionPersister 2010-02-07 13:23:20 +00:00
romanb
94d41dfbdc [2.0][DDC-279] Fixed. 2010-01-29 21:24:29 +00:00
guilhermeblanco
ad578e57f7 [2.0][DDC-240] Fixed issue with StandardEntityPersister that was attempting to delete Entities based on field names instead of column names. 2010-01-05 17:07:57 +00:00
romanb
afbe3add30 [2.0][DDC-221] Namespace fixes. 2009-12-22 13:56:30 +00:00
romanb
30ed439111 [2.0][DDC-144][DDC-113] Fixed. 2009-12-18 12:30:19 +00:00
romanb
3d14da4105 [2.0][DDC-168] Moved INSERT SQL generation to persisters during runtime. 2009-12-17 13:37:47 +00:00
romanb
fe7ef4bbeb [2.0][DDC-122][DDC-97][DDC-98][DDC-147] Refactored metadata mapping drivers by removing the useless PRELOAD mode. Introduced ClassMetadataFactory#getAllMetadata. Classloader simplifications. Old classloaders deprecated. New Doctrine\Common\ClassLoader is almost the same as the previous IsolatedClassLoader. 2009-12-15 21:06:32 +00:00
romanb
097d1d6bee [2.0] Fixed _doMerge not to use hydrateAdd. 2009-12-11 10:38:21 +00:00
romanb
909e98c6f2 [2.0][DDC-202][DDC-132][DDC-185] Fixed. 2009-12-09 12:37:57 +00:00
romanb
1013eb66c1 [2.0] Fixed PHP Notice in SchemaTest (only variables should be passed by reference...) and a few other cosmetics in various parts. 2009-12-07 12:47:23 +00:00
romanb
22375235db [2.0][DDC-162][DDC-94] Fixed. 2009-12-02 20:49:10 +00:00
romanb
fdd9b05158 [2.0] Fix for optimistic locking. 2009-11-25 21:48:04 +00:00
romanb
555b097641 [2.0][DDC-164][DDC-165] Fixed. Cleaned up ManyToManyMapping. Cleaned up identifier handling and handling of composite identifiers in some places. 2009-11-21 18:52:02 +00:00
romanb
8e3f6eee0a [2.0][DDC-121] Fixed. Also fixed memcache tests and some small refactorings. 2009-11-08 11:07:49 +00:00
beberlei
b24811e29a [2.0] Fix Fatal errors in unused classes that crash the testsuite when running PHPUnit with coverage-whitelisting of complete Doctrine directory. 2009-11-06 17:05:22 +00:00
romanb
7bbdac1c88 [2.0][DDC-61][DDC-108] Fixed. Started exception refactoring. 2009-11-03 18:30:21 +00:00
romanb
f572c372dc [2.0] Fixed DDC-18. Simplified proxy classes. Just 1 proxy class per entity now, instead of 2. 2009-10-28 15:32:55 +00:00
romanb
4fc1781d78 [2.0][DDC-22] Fixed. Also cleaned up association handling. More to come: exception refactorings, proxy simplifications (single proxy class, not two). 2009-10-28 10:31:47 +00:00
romanb
ac4b4889a6 [2.0][DDC-57] Fixed. 2009-10-26 13:05:32 +00:00
romanb
08694d1826 [2.0] Some optimizations and small fixes. 2009-10-25 21:40:57 +00:00
romanb
204b57e115 [2.0][DDC-57] Fixed. 2009-10-23 15:01:32 +00:00
romanb
5b60f87859 [2.0] Fixed some known issues with inheritance, especially class table inheritance, like join columns not being selected. 2009-10-22 19:12:00 +00:00
romanb
e2d678cc10 [2.0] Refactorings to reduce duplicated code and increase efficiency. 2009-10-22 12:50:58 +00:00
romanb
84d3cb971e [2.0] Removed debug code. 2009-10-15 19:04:27 +00:00
romanb
0b3ae4b169 [2.0] Removed all remaining references to deprecated allowPartialObjects option. 2009-10-15 19:03:27 +00:00
romanb
5842411afe [2.0][DDC-49][DDC-50][DDC-33] Fixed DDC-49 and DDC-50. Also addressed DDC-33. Various other small changes and fixes. For problems with proxy objects please refer to the updated documentation. 2009-10-15 14:39:43 +00:00
romanb
3d3bcc1742 [2.0][DDC-7] Fixed. 2009-09-15 12:24:38 +00:00
jwage
7aabee5efc [2.0] Fixing empty insert sql statements (closes #2481) 2009-09-08 19:31:26 +00:00
jwage
05d5fe4954 [2.0] Finishing optimistic locking with timestamp support 2009-08-24 17:06:12 +00:00
romanb
3d17cb0d60 [2.0] Applied fixes for character casing issues. Simplified inheritance mapping and improved handling of outer joins in Class Table Inheritance. 2009-08-17 17:58:16 +00:00
romanb
32069cc2b5 [2.0] More preparations to fix character casing issue. Reverted and completed ConditionalPrimary parsing and added more tests for this. 2009-08-16 16:36:00 +00:00
romanb
ebb432bfb8 [2.0] Preparing to address character casing issue. 2009-08-15 18:11:51 +00:00
romanb
e578bad687 [2.0] Fixed several referential integrity issues. Fixed critical issue with inserts being run twice on postgresql/oracle. Added support for additional tree walkers that modify the AST prior to SQL construction and started to play with it in a testcase. 2009-08-13 10:13:06 +00:00
romanb
8797921937 [2.0] Removed AssociationMappings from ResultSetMapping for improved caching. Fixed caching issue with reflection classes and properties. Reimplemented and leaned up broken identifier quoting. Added support for named (native) queries. Fixed small hydration memory leak. 2009-08-11 10:51:38 +00:00
guilhermeblanco
103cdf5778 [2.0] More docblocks. Renamed methods Type::addCustomType to Type::addType and Connection::exec to Connection::executeUpdate. Added Type::hasType. 2009-08-10 22:43:27 +00:00
romanb
2ec4cc5cbe [2.0] More cleanups for recent lazy-loading implementation and minor object hydration improvements and cleanups. Collection refactoring part I for ticket #2352. 2009-07-29 11:57:27 +00:00
romanb
62446f0f3c [2.0] Cleanup for changeset #6172. 2009-07-28 16:36:24 +00:00
piccoloprincipe
c073f1d113 [2.0] completed implementation of lazy loading for Collections. Created debug helper class. Fixed default for orderBy clause to ASC 2009-07-28 11:43:42 +00:00
romanb
da07bf4a37 [2.0] Small refactorings. 2009-07-24 11:33:38 +00:00
romanb
ae1b9371ec [2.0] Fixed #2366. 2009-07-21 15:53:58 +00:00
romanb
49434b0322 [2.0] Further cleanups. Started eager loading support. 2009-07-21 09:25:14 +00:00
romanb
a301834057 [2.0] First part of cleanup for changeset 6120. More to follow. 2009-07-20 15:30:54 +00:00
piccoloprincipe
0c623fdb9e [2.0] Accomodate joincolumn names in the metadata, in the selection and the hydration processes. Improved Api of the ProxyFactory. Working implementation of lazy loading for *-to-one associations (affects #2348) 2009-07-20 12:05:19 +00:00