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

1173 Commits

Author SHA1 Message Date
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
guilhermeblanco
b121576ff4 [2.0] Fixed DQL parser to use Query::HINT_FORCE_PARTIAL_LOAD instead of string. 2009-07-22 05:06:06 +00:00
guilhermeblanco
58a157863e [2.0] Finished reorganization of grammar rules in DQL parser source code. Renamed some private methods. 2009-07-22 03:46:05 +00:00
romanb
ae1b9371ec [2.0] Fixed #2366. 2009-07-21 15:53:58 +00:00
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
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
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
c9b0328279 [2.0] fixed skipped tests by blocking phpunit autoloading 2009-07-17 14:10:21 +00:00
piccoloprincipe
129e13f5c5 [2.0] skipping test with mocked namespaced classes 2009-07-17 14:06:43 +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
piccoloprincipe
a41bbbd7e1 [2.0] renamed classes to more descriptive names 2009-07-16 13:59:26 +00:00
piccoloprincipe
0b9a2e0c0b [2.0] working implementation of reference proxies 2009-07-16 13:20:31 +00:00
piccoloprincipe
9dba60a5fb [2.0] fixed test suite name 2009-07-16 09:12:40 +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
59fbb8b20f [2.0] Commented Memcache test since it was throwing a fatal error if module is loaded. It requires a memcache server config to be able to run these tests 2009-07-15 22:45:34 +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
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
piccoloprincipe
ce6aebc8ab [2.0] expanded tests for DBAL components 2009-07-11 08:48:57 +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
piccoloprincipe
08f84793da fixed parameter type hinting 2009-07-08 08:43:50 +00:00
piccoloprincipe
41df51a6e9 added tests for various WHERE clauses 2009-07-08 08:08:27 +00:00
piccoloprincipe
f11e39cc5a renamed and separated test methods to conform to agile documentation (addresses #2316) 2009-07-08 07:48:44 +00:00
piccoloprincipe
32363a200d divided some assertions in various cohesive methods and renamed method names to conform to agile documentation (affects #2316) 2009-07-07 12:00:22 +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
piccoloprincipe
4910309674 added one-one self referential functional tests (closes #2276) 2009-07-06 12:42:14 +00:00
piccoloprincipe
ff115efbac added many-many self referential functional tests (affects #2276) 2009-07-06 12:18:04 +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
piccoloprincipe
4e70e5d80a [2.0] added one-many self referential association test (addresses #2276) 2009-07-02 14:36:47 +00:00
romanb
31892fb4a8 [2.0] Fixed cascading issue (#2307). Fixed many-many object hydration issue. 2009-07-02 11:48:44 +00:00