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

1165 Commits

Author SHA1 Message Date
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
piccoloprincipe
3f4cd46b96 [2.0] simplified removing code 2009-07-02 09:44:06 +00:00
piccoloprincipe
1b9b6c68e0 [2.0] added many-to-many uni and bi directional tests (affects #2276) 2009-07-02 09:37:59 +00:00
piccoloprincipe
2c508102c4 [2.0] addresses #2307 2009-07-02 07:47:57 +00:00
piccoloprincipe
0f2499f93b [2.0] added Collection object creation 2009-07-02 07:47:24 +00:00
romanb
76661cd987 [2.0] Added missing property. 2009-07-01 13:50:26 +00:00
romanb
5b67754595 [2.0] Simplifying code. Including OneToManyBidirectionalAssociation test in AllTests 2009-07-01 13:45:31 +00:00
piccoloprincipe
1e0589928a [2.0] added new bidirectional one-many association test (affects #2276) 2009-07-01 13:11:45 +00:00
romanb
01147039d4 [2.0] Simplifying code. 2009-07-01 13:08:24 +00:00