1
0
mirror of synced 2024-12-13 06:46:03 +03:00
Commit Graph

326 Commits

Author SHA1 Message Date
Benjamin Eberlei
4f154b6aa1 DDC-920 - Fix bug when detaching a managed entity that is not yet in the identity map (no id). 2010-12-10 21:55:48 +01:00
Benjamin Eberlei
634aa0b291 DDC-832 - Small adjustments in the patch 2010-10-31 11:11:23 +01:00
Benjamin Eberlei
008601f2ea DDC-758 - Respect notify change tracking. 2010-10-31 07:23:58 +01:00
Benjamin Eberlei
23795605fc DDC-758 - Fix bugs with adding and removing elements from a cascade merge Collection. This fix leads to a significant hit in merge performance of collections since they have to be initialized to the current database state, leading to an additional sql query being executed + hydration. 2010-10-31 07:06:53 +01:00
Benjamin Eberlei
89d0a52c4f DDC-833 - Fix some nasty bug occouring when re-creating an entity that was a proxy before. Also found another nasty issue with refreshing entity that had an already loaded many-to-many or one-to-many association. 2010-10-11 22:15:18 +02:00
Benjamin Eberlei
7551bb3762 Fix notice due to wrong variable reference 2010-10-06 23:09:49 +02:00
Benjamin Eberlei
da63bad9c8 DDC-762 - Fixed notice when mapping foreign keys to field having null values 2010-09-13 21:48:25 +02:00
Benjamin Eberlei
1496250833 Merge branch 'master' into DDC-117 2010-08-15 20:17:56 +02:00
Benjamin Eberlei
6f4f8f8cb1 DDC-742 - Fix issue with collections that are set to fetch=EAGER not being initialized with takeSnapshot() correctly 2010-08-15 19:51:06 +02:00
Benjamin Eberlei
e45c52b024 Merge Removal of association classes into DDC-117 branch, quite some merge efforts necessary to get it working again 2010-08-13 23:23:11 +02:00
Roman S. Borschel
dd7be5b13a Improving API and docblocks. Removing superfluous tests. 2010-08-09 22:48:07 +02:00
Roman S. Borschel
4826739824 Simplified ClassMetadata lookup in UnitOfWork and added docblock. 2010-08-09 22:48:07 +02:00
Roman S. Borschel
8d3e0e61ea Moved association mappings to plain arrays, just like field mappings. 2010-08-09 22:48:07 +02:00
Benjamin Eberlei
a705b81d9b DDC-729 - Fix issue with merging of collections leading to dereference behaviour after next flush(). Added a test for dereferencing of collections as there was none 2010-08-08 16:07:40 +02:00
Benjamin Eberlei
7b07a17886 Merge branch 'master' into DDC-117 2010-08-08 14:07:24 +02:00
Roman S. Borschel
a1bf4dc4f6 API doc adjustments. 2010-08-08 13:10:53 +02:00
Roman S. Borschel
34262aeae1 Removed support for experimental C extension. Will be re-examined for 3.0. 2010-08-08 12:52:46 +02:00
Roman S. Borschel
3630e06b84 [DDC-522][DDC-419][DDC-383] Fixed. 2010-08-08 12:40:32 +02:00
Benjamin Eberlei
251247c16f DDC-633 - Fix Eager ManyToOne or OneToOne relations being replaced by a proxy instead. 2010-08-08 11:05:30 +02:00
Benjamin Eberlei
10f47389ae Made single identifier One-To-One + Id work also and added a test-case 2010-08-07 20:07:10 +02:00
Benjamin Eberlei
c697a2d47f Prototype hack of @ManyToOne + @Id support with two test-scenarios, composite association key only composite key, and a mixed key scenario. I think single foreign association would work also 2010-08-07 19:33:54 +02:00
Roman S. Borschel
29bf4adac7 Fixed merging issue with sequence identifiers. 2010-08-07 11:33:33 +02:00
Roman S. Borschel
a25101add1 Fixed merging with NOTIFY policy. 2010-07-30 17:19:51 +02:00
Roman S. Borschel
69073c4b37 Fixes for merging bidirectional associations where both sides define cascade=merge as well as fixes for handling null values and proxies properly in single-valued associations. 2010-07-30 17:19:50 +02:00
Roman S. Borschel
954a8c3935 Updated tests. 2010-07-30 17:19:50 +02:00
Benjamin Eberlei
c217b33c45 DDC-714 - Bug in refactored persistNew() functionality leads to failure with pre-persist id generators 2010-07-25 16:32:04 +02:00
Roman S. Borschel
a05003016b Stricter detection of the NOTIFY policy. 2010-07-16 11:16:06 +02:00
Roman S. Borschel
e7ac35ed95 [DDC-119] Fixed. 2010-07-15 15:55:45 +02:00
Benjamin Eberlei
d288e99a34 DDC-681 - Fix call to wrong function, need field not column names in lock() 2010-07-10 19:23:38 +02:00
Roman S. Borschel
4212b88edc Fixed DDC-455, DDC-600. Some behavior and API polish in the UoW as well as continued _ prefix removal in some core classes. Cleanups and fixes for one-to-one orphan removal including tests. 2010-07-08 00:20:54 +02:00
Roman S. Borschel
88b0813536 Improved entity state detection. 2010-07-06 11:43:14 +02:00
beberlei
b56e1e31af DDC656 - Fix bug with order of fields when recomputeSingleEntityChangeSet() is called after lifecycle events are invoked 2010-07-04 08:54:57 +02:00
beberlei
f7e8109d07 DDC-501 - Cascade Merging unitialized Persistent Collections leads to weird behaviour 2010-07-01 23:48:44 +02:00
Roman S. Borschel
37b4652639 [DDC-599] Fixed. 2010-06-07 00:31:59 +02:00
Benjamin Eberlei
ba6cb6bd14 Fixed nasty bug with Proxies not getting initialized correctly. 2010-05-15 21:32:34 +02:00
Benjamin Eberlei
78328ec6ea DDC-178 - Removed Doctrine\ORM\LockMode in favour of Doctrine\DBAL\LockMode 2010-05-15 11:48:20 +02:00
Benjamin Eberlei
8a67621b6a DDC-178 - Fixed problems occuring from merging upstream, re-ran API and tests, finalizing lock-support for merge with upstream 2010-05-15 09:58:39 +02:00
Benjamin Eberlei
64b57bbcfb Merge upstream into lock-support branch 2010-05-15 09:41:32 +02:00
David Abdemoulaie
668456e4d8 [DDC-588] EntityManager::refresh uses fieldName instead of columnName 2010-05-14 22:10:13 +02:00
Roman S. Borschel
5dbd40563c Added control abstractions for transaction demarcation. 2010-05-13 13:19:59 +02:00
Roman S. Borschel
f619a15a63 Removed EntityTransaction until it has a real purpose. Added the affected entity to OptimisticLockException. Updated functional optimistic locking tests accordingly. 2010-05-10 23:51:56 +02:00
Guilherme Blanco
d0325d7048 Merged with upstream/master 2010-05-08 12:42:06 -03:00
Guilherme Blanco
b12b8b0041 Revertd partially the support to DBAL\Transaction, it was wrong. Fixed implementation of ORM\EntityTransaction and fixed tests. 2010-05-06 18:39:19 -03:00
Benjamin Eberlei
f65a555d04 Merge Upstream into Locking-Branch 2010-05-02 13:02:44 +02:00
Guilherme Blanco
4ab5dffc4c Fixed UnitOfWork and isRollbackOnly flag. 2010-05-01 11:49:14 -03:00
Roman S. Borschel
080f737338 [DDC-534] Fixed. 2010-05-01 12:14:16 +02:00
Guilherme Blanco
6705d9b9cc Introduced the concept of DBAL\Transaction and ORM\EntityTransaction. 2010-04-29 22:46:51 -03:00
Roman S. Borschel
b505a27370 Renamed StandardEntityPersister to BasicEntityPersister 2010-04-26 13:12:46 +02:00
Roman S. Borschel
760ea34a0c [DDC-497][DDC-500][DDC-342] Fixed. Persister polishing and refactoring. More to come for that, but after beta1. 2010-04-26 13:02:30 +02:00
Benjamin Eberlei
dfbd9e6e2f DDC-178 - Add additional tests for Locking Support 2010-04-11 16:43:33 +02:00
Benjamin Eberlei
4a1c3785ec Merge commit 'dc2master/master' into lock-support 2010-04-10 10:12:35 +02:00
Roman S. Borschel
7cc56c45d3 [DDC-193] Fixed. 2010-04-10 00:00:36 +02:00
Benjamin Eberlei
e6a44b145f [DDC-178] First approach to Locking support 2010-04-08 22:50:06 +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
romanb
2209c5ef30 [2.0][DDC-444] Fixed. 2010-03-20 09:40:50 +00:00
romanb
53eb51b687 [2.0][DDC-422] Fixed. 2010-03-18 13:43: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
beberlei
bc6714c2c8 [2.0] DDC-414 - Changed semantics of preUpdate Event to allow only changes to the entity changeset, not the internal state of the entity anymore. 2010-03-14 22:16:15 +00:00
beberlei
f3f72edb45 [2.0] Give public access to the computed collection deletions and updates for possible use with the onFlush event. 2010-03-13 09:19:12 +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
74a4328833 [2.0] Refactored UoW#createEntity slightly for perf. reasons (documented properly now). 2010-02-28 22:48:50 +00:00
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
50190c64d3 [2.0] DDC-358 - Refactored UnitOfWork Event triggering capabilities - Revert preUpdate change - Its not good! 2010-02-23 20:36:07 +00:00
romanb
82e42123de [2.0][DDC-345] Fixed. 2010-02-23 14:58:12 +00:00
beberlei
ac62e4d9bb [2.0] DDC-358 - Refactored UnitOfWork Event triggering capabilities 2010-02-21 21:55:39 +00:00
romanb
639718e95c [2.0][DDC-335][DDC-347][DDC-317] Fixed. Also prepared DQL for CASE/COALESCE/NULLIF support. 2010-02-19 21:28:17 +00:00
romanb
ca23555c3e [2.0][DDC-79][DDC-261] Fixed. Also fixed support for deleting objects by reference (getReference() + remove() + flush()) to effectively delete objects without loading them. 2010-02-10 10:47:42 +00:00
romanb
94d41dfbdc [2.0][DDC-279] Fixed. 2010-01-29 21:24:29 +00:00
romanb
46ed63d131 [2.0][DDC-251] Fixed. 2010-01-18 12:50:39 +00:00
romanb
38bf6c665a [2.0][DDC-237][DDC-216] Fixed. If you're using manual proxy generation through the CLI, please regenerate your proxies. 2010-01-05 11:45:38 +00:00
romanb
6ffa75ab40 [2.0] Fix to clear _scheduledFirDirtyCheck properly after a successful flush of a unit of work. 2009-12-23 13:50:23 +00:00
romanb
60b9fb7c5b [2.0] Some small cleanups. 2009-12-21 11:06:27 +00:00
romanb
30ed439111 [2.0][DDC-144][DDC-113] Fixed. 2009-12-18 12:30:19 +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
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
69a0b597c8 [2.0][DDC-174] Fixed. 2009-12-02 20:32:41 +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
124cbe9086 [2.0][DDC-137] Fixed. 2009-11-15 11:42:05 +00:00
romanb
c3ef019549 [2.0][DDC-145] Fixed. 2009-11-13 19:34:10 +00:00
romanb
94d771172e [2.0][DDC-74] Fixed. 2009-11-13 16:39:28 +00:00
romanb
ab0c7b11c8 [2.0][DDC-136] Some fixes to internal UnitOfWork logic. 2009-11-11 16:20:29 +00:00
romanb
7f725aa71c [2.0][DDC-121] Fixed unintended collection initialization in UnitOfWork. 2009-11-07 11:54:47 +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
ce6905cc5d [2.0] Fixed commit order calculation. 2009-10-28 11:00:17 +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
08694d1826 [2.0] Some optimizations and small fixes. 2009-10-25 21:40:57 +00:00
romanb
4328a4e9e3 [2.0] Small refactorings on the cache drivers. Introduced flag to control whether the cache driver should manage the cache keys since this is an advanced feature that is not always needed and can have negative side-effects (higher probability for cache slams). 2009-10-23 15:03:00 +00:00
romanb
ae9a4be658 [2.0] Formatting. 2009-10-22 12:53:25 +00:00
romanb
e2d678cc10 [2.0] Refactorings to reduce duplicated code and increase efficiency. 2009-10-22 12:50:58 +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
cb1c7bce48 [2.0] DBAL cleanups (DDC-46). Proxy class improvements (DDC-19, DDC-39). Started new UPGRADE_TO document for upgrade instructions between advancing Doctrine 2 versions. 2009-10-14 20:18:36 +00:00
romanb
f731a083b6 [2.0][DDC-41] Fixed. Also related to DDC-2. 2009-10-12 11:55:22 +00:00
romanb
bb6e54fba1 [2.0][DDC-21] Fixed. 2009-10-09 14:27:35 +00:00
romanb
b8bcd51ff2 [2.0][DDC-32] Fixed. 2009-10-07 12:39:46 +00:00
romanb
71c1fe5221 [2.0][DDC-2] Fixed. 2009-10-06 10:04:32 +00:00
romanb
435acc9188 [2.0][DDC-24] Fixed (together with some small misc. refactorings). 2009-10-01 12:00:14 +00:00
romanb
49a24c4ef8 [2.0] Fixed #2478. 2009-09-06 08:48:44 +00:00
guilhermeblanco
686758e846 [2.0] fixes #2478 Now PersistentCollections may contain NEW elements and track policy monitor them when flushing on DEFER_IMPLICIT mode 2009-09-06 03:25:44 +00:00
romanb
94c187685b [2.0] Work on CLI: Added SchemaToolTask with preliminary support for dropping/creating the database schema. Prepared the sandbox. Adjusted build to include the sandbox. 2009-08-31 16:21:29 +00:00
jwage
f83fd8e950 [2.0] Updating exceptions to use methods so that we can later provide better exception messages 2009-08-26 22:03:39 +00:00
romanb
c3081adb09 [2.0] Moved beginTransaction() in UnitOfWork#commit() out of the try block so that exceptions occuring during prior or on transaction start are not masked by another exception. 2009-08-26 09:10:14 +00:00
romanb
b1d34fca1c [2.0] Work on SchemaTool and DBAL. 2009-08-21 18:13:22 +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
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
romanb
e1f2b8abec [2.0] Implemented support for mapped superclasses. Fixed #2353. 2009-07-30 15:16:02 +00:00
romanb
92214eaf37 [2.0] Part II for ticket #2352. Fixed #2352. 2009-07-29 12:00:08 +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
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
2807a83d5d [2.0] Started to simplify commit order calculation. 2009-07-27 09:50:22 +00:00
romanb
28ca2acb8b [2.0] Refined implementation and semantics of the merge and detach operations. General cleanups and API improvements. Added a testcase for detaching/serializing->unserializing->modifying->merging to demonstrate the transparent serialization. 2009-07-25 16:33:29 +00:00
romanb
da07bf4a37 [2.0] Small refactorings. 2009-07-24 11:33:38 +00:00
romanb
d674f1923d [2.0] Fixed #2373. Some small perf. improvements for UnitOfWork. 2009-07-23 09:52:16 +00:00
romanb
1299e83853 [2.0] Fixed docblock and return value from previous commit. 2009-07-21 15:57:11 +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
7297ac7baa [2.0] Addressed #2363. 2009-07-19 16:54:53 +00:00
romanb
59cf1f745d [2.0] added entity lifecycle events. 2009-07-18 18:06:30 +00:00
romanb
b8090c99a3 [2.0] Moved locking tests into Functional namespace. Fixed several missing flush() calls in some functional association tests. Reordered DELETE statements for ecommerce model tests in OrmFunctionalTestCase in order to maintain referential integrity. Fixed issue with bi-directional self-referencing one-one associations. Some other small improvements and cosmetics. Small hydration performance improvement through inlining method call in UnitOfWork::createEntity(). 2009-07-18 11:41:37 +00:00
romanb
0c8a35f731 [2.0] Cosmetics. 2009-07-15 06:46:43 +00:00
jwage
be966b0cd9 [2.0] Fixing doc block for _useCExtension flag 2009-07-10 21:49:47 +00:00
jwage
1aeff68c0f [2.0] Initial commit to make hydration work with C extension 2009-07-10 21:47:42 +00:00
romanb
f064de2af1 [2.0] Fixed issue with self-referential one-to-many associations not being persisted correctly when IDENTITY key generation was used. Included now passing OneToManySelfReferentialTest. 2009-07-03 17:36:41 +00:00
romanb
31892fb4a8 [2.0] Fixed cascading issue (#2307). Fixed many-many object hydration issue. 2009-07-02 11:48:44 +00:00
romanb
455f877486 [2.0] Minor refactorings and docblock adjustments. Fixed #3202. 2009-06-30 16:00:28 +00:00
romanb
537c8e4951 [2.0] Implemented DQL bulk DELETE support for Class Table Inheritance. Other cleanups, refactorings and docblock additions. 2009-06-22 18:48:42 +00:00
romanb
104398003c [2.0] Parser work. 2009-06-14 17:34:28 +00:00
jwage
f994680d54 [2.0] More general work on the Platform and SchemaManager classes(primarily pgsql) 2009-05-28 21:34:35 +00:00
romanb
292e93ded4 [2.0] Formatting issues. 2009-05-28 11:39:16 +00:00
romanb
a758b56551 [2.0] Introduced SQL logging facilities. Made Type constructor private to prevent instantiation and force use of the factory method getType(). 2009-05-28 11:13:12 +00:00
romanb
d2405ded5d [2.0] Enhanced one-to-one self-referential association handling. 2009-05-26 15:42:54 +00:00
romanb
a421692679 [2.0] Fixed Query Cache (+testcase) and some E_STRICT errors. 2009-05-21 19:18:14 +00:00
romanb
eb6c6b2d16 [2.0] Some small optimizations. 2009-05-19 16:24:17 +00:00
romanb
4f5b332d34 [2.0] Adding insert performance tests. 2009-05-19 16:11:08 +00:00
romanb
c07416ac39 [2.0] Fixing replacement of StandardEntityPersister. 2009-05-17 20:45:50 +00:00
romanb
60f6020b5f [2.0] Intermediate commit. 2009-05-17 20:42:58 +00:00
romanb
4d13925b1c [2.0] Some hydration and DQL parser work. 2009-05-17 19:27:12 +00:00
romanb
e79c45f9ac [2.0] Fixed issues discovered during code coverage report generation. Made all ClassMetadata properties public (good reasons, read the class docblock). Performance improvements. 2009-05-14 10:03:09 +00:00
romanb
ecd30bc242 [2.0] Started to implement proxy object handling. Introduced a configuration switch for partial objects (allowPartialObjects) that defaults to TRUE. Setting to FALSE enables proxying and lazy-loading. 2009-05-13 15:19:27 +00:00
romanb
e0488ff8fc [2.0] First draft of EntityManager#merge(). First draft of DynamicProxyGenerator. 2009-05-11 10:43:27 +00:00
romanb
cfae81e11a [2.0] Fixed hydration for bi-directional many-many associations. 2009-05-07 16:36:27 +00:00
romanb
96f4d511e8 [2.0] Improved changeset detection. 2009-05-05 18:39:25 +00:00
romanb
a6d9236ef2 [2.0] Fixes and enhancements to sequence generators. Test suite now runs & passes against postgres. Other minor, unrelated cleanups. 2009-05-05 17:20:55 +00:00
romanb
80de567817 [2.0] Fixed issue in changeset calculation. 2009-05-03 11:49:48 +00:00
romanb
ae7be288e1 [2.0] Work on single table inheritance with more functional tests. 2009-05-03 10:58:16 +00:00
romanb
5a00a9472c Implemented three change tracking policys. First test for usage of NotifyPropertyChanged. 2009-04-24 21:08:59 +00:00
romanb
ee46dba332 [2.0] Moved code between Query and AbstractQuery. Added first NativeQuery implementation. Hydration work and code movements for discriminator column usage. Started implementing Single Table Inheritance. 2009-04-12 19:02:12 +00:00
romanb
523c93c2f1 [2.0] Refactored SQL query building process and hydration. Hydration should now support result sets with any number of root components. Introducing ResultSetMapping that is used by hydration instead of queryComponents. This allows mapping of arbitrary SQL queries (NativeQuery). 2009-04-09 18:12:48 +00:00
romanb
f9a222817c [2.0] Work on ID generators, functional tests and more. 2009-03-30 19:43:05 +00:00
romanb
7479a0cf9b [2.0] Starting to improve functional tests. First basic functional query tests. 2009-03-28 20:59:07 +00:00
romanb
22de495e19 [2.0] Cleaned up old Production/Parser classes. 2009-03-14 09:05:52 +00:00
jwage
43b6791919 [2.0] More replacing of old style of exceptions to intermediate step 2009-02-19 07:07:44 +00:00
romanb
2ef81cf2a9 [2.0] Various small changes and enabling the collection tests. 2009-02-17 10:54:18 +00:00
romanb
9dcab5ee63 Small reorganizations, improvements and progress. 2009-02-07 17:02:13 +00:00
romanb
2eb4a16dd4 [2.0] More progress on the UnitOfWork and collections. First basic functional many-many test. 2009-02-06 17:16:39 +00:00
romanb
886c961108 [2.0] Continued work on association mappings and class exporting (DDL generation). Fixed #1863. 2009-02-04 16:35:36 +00:00
romanb
e202cb1ce1 [2.0] Progress on UnitOfWork, persisters and basic functional tests. 2009-02-02 11:55:50 +00:00
romanb
36763dadb6 A little progress on the UnitOfWork. 2009-01-29 17:00:44 +00:00
romanb
0ac97e7adf [2.0] Making use of new constant __DIR__ 2009-01-24 16:56:44 +00:00
romanb
22e94ac594 Enabling namespaces. Final restructurings. 2009-01-22 19:38:10 +00:00
romanb
dd1afc7e7c hydrator cleanup and 2 new methods for ClassMetadata 2009-01-15 13:30:44 +00:00
romanb
34f4ee71fa First tests for basic collection implementation. First experimental use of closures (Currently commented out, because the svn server makes a syntax check against 5.2.x). 2009-01-12 13:34:41 +00:00
romanb
73ad0ac454 more tests and first basic update/delete 2009-01-09 16:25:06 +00:00
romanb
b6e385d243 fixed regression 2009-01-08 11:23:24 +00:00
romanb
d97336373d Finally first, very basic, running CRUD tests for Doctrine 2 2009-01-07 17:46:02 +00:00
romanb
957a6b2c89 added missing annotation driver class. small refactorings. added first ClassMetadata serialization tests. 2009-01-05 20:18:56 +00:00
romanb
bcf0110249 replaced code driver with annotation driver using addendum. 2009-01-05 17:25:56 +00:00
romanb
efaaf83e17 test and collection cleanup 2009-01-04 16:15:32 +00:00
romanb
2395888feb General work. Now using spl_object_hash. 2009-01-03 19:50:13 +00:00
romanb
9971057076 moving towards transparent persistence. 2008-12-18 14:08:11 +00:00
romanb
c3ad955912 further cleanups 2008-09-12 17:25:38 +00:00