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

230 Commits

Author SHA1 Message Date
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
jwage
2085823661 [2.0] A few fixes and clean up to the Optimistic Locking implementation. 2009-07-17 21:55:56 +00:00
jwage
cc3ea569a4 [2.0] Initial version of optimistic locking with integer version columns 2009-07-17 18:13:03 +00:00
piccoloprincipe
6e4c24684c [2.0] added load() method 2009-07-17 13:41:03 +00:00
piccoloprincipe
52d55da356 [2.0] working implementation of Association Proxy classes 2009-07-17 13:35:44 +00:00
piccoloprincipe
66f377fb12 [2.0] extended tests for proxy class generation 2009-07-17 12:43:37 +00:00
guilhermeblanco
8fbee579d3 [2.0] Fixed 4 issues with ProxyGenerator. It was not considering the type hint and it was generating an E_STRICT error with incompatible method declaration. Some cosmetic changes in Query 2009-07-16 22:03:35 +00:00
piccoloprincipe
cdc102fc23 [2.0] renamed classes to more descriptive names 2009-07-16 14:03:22 +00:00
piccoloprincipe
197ed0b7b6 [2.0] working implementation of reference proxies 2009-07-16 13:29:15 +00:00
guilhermeblanco
3bc4042a63 [2.0] Fixed wrong DQL error message. More improvements in DQL parser 2009-07-16 04:08:14 +00:00
guilhermeblanco
55651ec902 [2.0] Updated semantical error to display token and text close to the found error. Some cosmetics applied. 2009-07-16 03:22:08 +00:00
guilhermeblanco
c48648aa55 [2.0] Cosmetics. 2009-07-15 23:20:11 +00:00
jwage
c4e330e5ca [2.0] Placing loadClassMetadata() event so users can manipulate class meta data through events 2009-07-15 20:18:40 +00:00
romanb
6c1690d352 [2.0] Merged PreInsertEventArgs/PreUpdateEventArgs => PreInsertUpdateEventArgs since they were identical. 2009-07-15 17:18:26 +00:00
romanb
35aa9a4850 [2.0] Adding missing event classes and some AnnotationDriver refactorings. 2009-07-15 16:31:59 +00:00
romanb
3ba3c67f54 [2.0] Namespaced annotations. 2009-07-15 10:59:35 +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
jwage
ba8b4337bb [2.0] Cleanup on QueryBuilder and Expr from discussion with roman 2009-07-10 18:26:43 +00:00
jwage
f608dd8a72 [2.0] More work on the QueryBuilder and Expr classes. 2009-07-10 17:53:48 +00:00
jwage
312d347d2d [2.0] More work on the QueryBuilder and Expr classes 2009-07-10 14:02:06 +00:00
romanb
838768d21f [2.0] Small comments/todos on QueryBuilderTest. 2009-07-10 07:38:42 +00:00
jwage
a9ed0085d2 [2.0] More work on the QueryBuilder and Expr classes 2009-07-09 21:56:34 +00:00
jwage
867a34d41b [2.0] Initial commit of a QueryBuilder class. Still needs a lot of work. 2009-07-09 04:18:58 +00:00
romanb
2ffc7f17db [2.0] Migrated AnnotationDriver to new annotation parser. Removed addendum vendor library. 2009-07-08 15:25:41 +00:00
romanb
9075f10bf5 [2.0] Moved cache drivers to Common package. Added new annotation parser implementation to Common package. AnnotationDriver in ORM not yet migrated. 2009-07-06 20:34:54 +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
6729ed28e7 [2.0] Implemented DQL bulk UPDATE support for Class Table Inheritance. Corrections to MultiTableDeleteExecutor and SqlWalker. DQL bulk UPDATE support not yet fully complete. 2009-06-23 17:50:13 +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
jwage
ab2b3999c0 [2.0] Adding date and time types. Fixing CURRENT_DATE, CURRENT_TIMESTAMP and CURRENT_TIME functions 2009-06-20 14:24:21 +00:00
jwage
cc59161bea [2.0] Adding missing _platform property 2009-06-20 13:56:46 +00:00
jwage
ada2c5c5a7 [2.0] Work on datetime dbal type and date portability 2009-06-20 12:59:33 +00:00
romanb
f28127664c [2.0] Cleanups, build fixes. 2009-06-15 18:25:47 +00:00
jwage
e21d8fffae [2.0] Removing old enum stuff 2009-06-15 16:21:24 +00:00
romanb
104398003c [2.0] Parser work. 2009-06-14 17:34:28 +00:00
romanb
84c62d8aec [2.0] Cleanup. 2009-06-07 17:21:57 +00:00
romanb
6e5a5068a6 [2.0] Converted constant values from strings to integers. 2009-06-07 17:20:37 +00:00
jwage
9f42e2d969 [2.0] Fixing reference to XML driver 2009-06-05 21:58:05 +00:00
jwage
115e4d01f2 [2.0] Refactoring the meta data drivers and refactoring yaml/xml and adding tests for yaml. 2009-06-05 21:40:47 +00:00
piccoloprincipe
bdd2241fb5 set svn:eol-style property on plain text files 2009-06-02 18:05:26 +00:00
romanb
d90e71d002 [2.0] First implementation of XmlDriver + tests. First draft of XSD document. 2009-06-01 16:14:11 +00:00
romanb
2b8091e80c [2.0] Code review with comments and small corrections. 2009-05-30 09:37:56 +00:00
jwage
92b395cff2 [2.0] Removing last few dependencies on 2.0 2009-05-29 15:38:46 +00:00
romanb
f3677a5714 [2.0] Changed identifier quoting strategy to something simpler. Dropped Doctrine prefix from annotations. 2009-05-29 10:23:13 +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
a4e928e118 [2.0] Moved addendum library to vendor dir. 2009-05-28 21:06:24 +00:00
romanb
292e93ded4 [2.0] Formatting issues. 2009-05-28 11:39:16 +00:00
romanb
d23607910b [2.0] Formatting issues. 2009-05-28 11:33:50 +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
3135799f9e [2.0] Fixed formatting. 2009-05-26 11:31:29 +00:00
romanb
b66d530540 [2.0] Class table inheritance updates. Started work on self-referencing associations. 2009-05-26 11:30:07 +00:00
romanb
c9cc9f1373 [2.0] Parser code review with some cleanups and comments to highlight TODOs. 2009-05-24 10:38:37 +00:00
romanb
0b9c990d98 [2.0] Intermediate checkin. 2009-05-22 21:30:44 +00:00
romanb
a421692679 [2.0] Fixed Query Cache (+testcase) and some E_STRICT errors. 2009-05-21 19:18:14 +00:00
romanb
55d70248a9 [2.0] Implemented class table inheritance (no DQL bulk UPDATE/DELETE support yet) 2009-05-21 08:53:40 +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
fe599d20c6 [2.0] Intermediate commit. 2009-05-17 20:43:49 +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
96ef7eca13 [2.0] More small internal perf. improvements. 2009-05-14 18:34:12 +00:00
romanb
eea4391598 [2.0] Started adding performance regression tests. More object hydration performance improvements. 2009-05-14 14:57:08 +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
8d9564421c [2.0] Cleanups from last commit. 2009-05-13 15:32:17 +00:00
romanb
33dbf8368b [2.0] Removed deprecated class. 2009-05-13 15:20:18 +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
1da8f672ce [2.0] Cleanup from previous commit. 2009-05-07 17:57:00 +00:00
romanb
0a81ae773d [2.0] Ensuring that PersistentCollection instances that are injected by Doctrine can be transparently serialized. 2009-05-07 17:56:09 +00:00
romanb
cfae81e11a [2.0] Fixed hydration for bi-directional many-many associations. 2009-05-07 16:36:27 +00:00
romanb
00c44b7c41 [2.0] Implemented many-to-many SQL join construction, small test included. 2009-05-07 13:54:01 +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
16c4efccd8 [2.0] DBAL streamlining and starting to increase test coverage. 2009-05-03 18:07:57 +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
832f355a30 [2.0] Cleanup. 2009-04-12 19:05:22 +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
67ba9661c5 [2.0] Some cleanups. 2009-04-09 18:20:35 +00:00
romanb
da1173f229 [2.0] Some cleanups. 2009-04-09 18:19:14 +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
62204af804 [2.0] Ongoing work on Query/DQL implementation and tests. 2009-04-03 11:06:58 +00:00
romanb
f9a222817c [2.0] Work on ID generators, functional tests and more. 2009-03-30 19:43:05 +00:00
romanb
2812318254 [2.0] Removed ParserResultDummy that is no longer necessary. 2009-03-28 21:00:02 +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
705199e897 [2.0] Parser work. Added support for functions in SelectExpressions. 2009-03-28 17:10:41 +00:00
romanb
5ebaa6504c [2.0] Some docs and cleanups. 2009-03-23 19:02:16 +00:00
romanb
e6dbc733c5 [2.0] Added remaining supported functions for 2.0. 2009-03-23 18:48:54 +00:00
romanb
ae5d212271 [2.0] Parser work. Added double-dispatch functionality to AST node classes for use in the SqlWalker to reduce big if/else instanceof checks and for better maintainability. Also its less error-prone in the SqlWalker because its harder to miss a conditional case. Added new extensible DQL function implementation. 2009-03-23 17:39:33 +00:00
romanb
618c1281e4 [2.0] Parser work. 2009-03-21 19:58:52 +00:00
romanb
98076e0b0d [2.0] Parser work. Drafted logic for multi-table deletes through DQL (for Class/Concrete Table Inheritance) 2009-03-21 12:52:43 +00:00
romanb
d833ee1464 [2.0] Parser work. Drafted logic for multi-table deletes through DQL (for Class/Concrete Table Inheritance) 2009-03-21 12:49:58 +00:00
romanb
c7dbde9f89 [2.0] Parser work. 2009-03-20 21:28:19 +00:00
romanb
89a625021a [2.0] Refactored and reenabled Lexer tests. 2009-03-20 20:53:14 +00:00