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

2236 Commits

Author SHA1 Message Date
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
jwage
7a79785dff [2.0] Removing old unused code from Addendum 2009-07-15 15:04:59 +00:00
jwage
6770295ac9 [2.0] Fixing hasListeners() to not use empty() 2009-07-15 13:35:06 +00:00
romanb
3ba3c67f54 [2.0] Namespaced annotations. 2009-07-15 10:59:35 +00:00
romanb
1987082c80 [2.0] Removed unnecessary parsing condition in the annotation parser. 2009-07-15 10:31:19 +00:00
romanb
f7fff511d1 [2.0] Improved AnnotationReader implementation. Fixes #2345. 2009-07-15 10:27:22 +00:00
romanb
a3d58e7b0d [2.0] Fixed array tests by removing tests for ArrayCache specific methods from the tests of other cache drivers. Some general API work on the cache interface. 2009-07-15 10:10:04 +00:00
romanb
0c8a35f731 [2.0] Cosmetics. 2009-07-15 06:46:43 +00:00
jwage
311cff87d3 [2.0] More test coverage 2009-07-14 22:36:09 +00:00
jwage
26bdd89be6 [2.0] Test coverage for OFFSET AND LIMIT sql generation for all platforms and Query class with setFirstResult() and setMaxResult() 2009-07-13 22:59:36 +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
0515d9abb7 [2.0] New Annotation API work: Simplifications, changed namespace separator to match the one of PHP, adjusted Lexer to swallow any * characters outside of a string value to be more forgiving when it comes to formatting. 2009-07-07 11:25:58 +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
5bbc2a9e58 [2.0] Changing Collection#removeElement return type to be consistent with Collection#remove 2009-07-01 13:31:11 +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
61555c78d2 [2.0] Cleanup 2009-06-20 17:02:02 +00:00
jwage
78d43097ca [2.0] Testing all dbal types and making sure they are fully implemented 2009-06-20 15:09:59 +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
jwage
dcb1fcdb75 [2.0] Removing remaining return methods where not needed 2009-05-30 23:47:28 +00:00
jwage
34da8376b4 [2.0] Fixing __call() in AbstractSchemaManager, doc blocks, clean up 2009-05-30 23:44:16 +00:00
romanb
ac8492d241 [2.0] DBAL code cleanups. 2009-05-30 18:38:00 +00:00
romanb
9586b748a8 [2.0] Refactorings 2009-05-30 14:10:01 +00:00
romanb
548e07467e [2.0] Solved the hassle with dropping/creating the test database through introducing a second test database for temporary connections. Please check the dbproperties.xml.dev file for reference. The 2 test databases need to be created *once* before the very first time of running the tests. New procedure successfully tested against mysql, postgresql, oracle. 2009-05-30 13:57:57 +00:00
romanb
d13e94abf7 [2.0] Small cleanups 2009-05-30 11:34:38 +00:00
romanb
8de151d8ea [2.0] Small cleanups 2009-05-30 11:33:06 +00:00
romanb
acec85a412 [2.0] Fixed hardcoded database name. 2009-05-30 10:16:54 +00:00
romanb
c3f5cba785 [2.0] Strange formatting fix. 2009-05-30 09:39:42 +00:00
romanb
2b8091e80c [2.0] Code review with comments and small corrections. 2009-05-30 09:37:56 +00:00
jwage
d34a05a257 [2.0] Oracle SchemaManager tests and general refactoring of tests 2009-05-30 02:27:50 +00:00
jwage
92b395cff2 [2.0] Removing last few dependencies on 2.0 2009-05-29 15:38:46 +00:00
romanb
f4f258ede6 [2.0] Cleanup 2009-05-29 10:24:10 +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
6e760bacc0 [2.0] Formatting issues. 2009-05-28 11:30:27 +00:00
romanb
d80b95964e [2.0] Formatting issues. 2009-05-28 11:26:08 +00:00
romanb
f01320665a [2.0] Formatting issues. 2009-05-28 11:24:22 +00:00
romanb
05173a867e [2.0] Formatting issues. 2009-05-28 11:19:27 +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
jwage
0ed8e7a34b [2.0] Fixing wrong function sig 2009-05-28 02:45:51 +00:00
jwage
75e0c1ede7 [2.0] More general work on the SchemaManager and Platform classes. Making API more complete and adding sqlite and mysql test coverage. 2009-05-28 02:04:51 +00:00
jwage
746d9bc38f [2.0] Adding listTableColumns() support for mysql. 2009-05-27 22:14:27 +00:00
jwage
7426baf53e [2.0] General work on Platform and SchemaManager classes 2009-05-27 18:54:40 +00:00
jwage
b951056025 [2.0] Adding initial MsSql platform and tests 2009-05-26 18:14:19 +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