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

2145 Commits

Author SHA1 Message Date
romanb
be0088f00c [2.0] Fix and test for result cache. 2009-07-21 10:48:19 +00:00
romanb
49434b0322 [2.0] Further cleanups. Started eager loading support. 2009-07-21 09:25:14 +00:00
guilhermeblanco
b3d110bac4 [2.0] Started massive reorganization of grammar rules in DQL parser. 2009-07-21 05:22:22 +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
romanb
4d146d321f [2.0] Small hydration cleanups and improvements. 2009-07-20 10:52:07 +00:00
guilhermeblanco
e197348734 [2.0] Implemented more TODO items. Fixed some grammar rules. 2009-07-19 21:17:01 +00:00
romanb
7297ac7baa [2.0] Addressed #2363. 2009-07-19 16:54:53 +00:00
guilhermeblanco
82be4bf023 [2.0] More work on TODO items. Fixed grammar rule that was incorrect. 2009-07-19 16:18:51 +00:00
romanb
59cf1f745d [2.0] added entity lifecycle events. 2009-07-18 18:06:30 +00:00
guilhermeblanco
227667c95d [2.0] Changes in DQL grammar for optimization purposes. Implemented new DQL grammar rules and did a couple of TODOs 2009-07-18 14:53:21 +00:00
piccoloprincipe
3747365b1c [2.0] added tests for lazy loading; added error_reporting level; wired association proxy factory 2009-07-18 13:15:54 +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
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
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