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

147 Commits

Author SHA1 Message Date
romanb
733c3c24f7 [2.0] Various necessary fixes and adjustments for oracle as well as fixes for better handling of temporal types. Closed #2452. 2009-08-28 17:25:28 +00:00
romanb
6a3aa84973 [2.0] Made MySqlPlatform default to innodb table engine. Some cleanups while investigating the optimistic locking failures. 2009-08-28 12:36:06 +00:00
jwage
b17ad38eed [2.0] Renaming LifecycleListener annotation to HasLifecycleCallbacks 2009-08-26 17:14:03 +00:00
romanb
8523648a27 [2.0] Fixed lifecycle callback mapping. 2009-08-25 09:14:08 +00:00
jwage
fd89892cc9 [2.0] Updating YAML and XML drivers to be synchronized with Annotations driver. 2009-08-24 21:05:55 +00:00
jwage
05d5fe4954 [2.0] Finishing optimistic locking with timestamp support 2009-08-24 17:06:12 +00:00
romanb
b1d34fca1c [2.0] Work on SchemaTool and DBAL. 2009-08-21 18:13:22 +00:00
guilhermeblanco
74af8a28ae [2.0] Removed *where*In methods from QueryBuilder. Finished decouple of QueryBuilder and Expr. Updated docs. 2009-08-20 03:21:39 +00:00
guilhermeblanco
842267c11c [2.0] Refactored pieces of QueryBuilder, it does not use string concatenation anymore. Splitted from into from and join, allowing update and delete DQLs to be correctly built. Added missing entry set. Removed Expr\Having because it was useless. Updated docs. 2009-08-20 02:59:42 +00:00
romanb
3d17cb0d60 [2.0] Applied fixes for character casing issues. Simplified inheritance mapping and improved handling of outer joins in Class Table Inheritance. 2009-08-17 17:58:16 +00:00
romanb
32069cc2b5 [2.0] More preparations to fix character casing issue. Reverted and completed ConditionalPrimary parsing and added more tests for this. 2009-08-16 16:36:00 +00:00
romanb
ebb432bfb8 [2.0] Preparing to address character casing issue. 2009-08-15 18:11:51 +00:00
guilhermeblanco
cf77048ee4 [2.0] Fixed issue with functions accepting subqueries. Implemented missing Expr\Join class. Added Expr::*join helper functions. 2009-08-14 22:50:36 +00:00
guilhermeblanco
b0202f2921 [2.0] Fixed issue with missing parenthesis in Math expressions 2009-08-14 21:03:27 +00:00
guilhermeblanco
c81affb9f7 [2.0] Some fixes in Expr. More documentation added. 2009-08-14 20:46:43 +00:00
romanb
e161103e4b [2.0] Added EntityRepositoryTest. Updated build file and XML Schema for mapping files. 2009-08-14 11:04:31 +00:00
romanb
7152da322f [2.0] Unified xml/yaml driver mapping tests so that there is a stronger enforcement on keeping them synchronized feature-wise. 2009-08-13 11:03:26 +00:00
romanb
e578bad687 [2.0] Fixed several referential integrity issues. Fixed critical issue with inserts being run twice on postgresql/oracle. Added support for additional tree walkers that modify the AST prior to SQL construction and started to play with it in a testcase. 2009-08-13 10:13:06 +00:00
romanb
8797921937 [2.0] Removed AssociationMappings from ResultSetMapping for improved caching. Fixed caching issue with reflection classes and properties. Reimplemented and leaned up broken identifier quoting. Added support for named (native) queries. Fixed small hydration memory leak. 2009-08-11 10:51:38 +00:00
guilhermeblanco
88698c3a78 [2.0] Created common Lexer code for Annotations parser and Query parser. Added some docblocks 2009-08-05 21:13:42 +00:00
romanb
f64347d899 [2.0] Implemented SQL generation for SIZE() function and EmptyCollectionComparisonExpression. 2009-08-05 15:47:41 +00:00
romanb
e67b30703b [2.0] Changed init() to __construct(). 2009-08-04 09:33:36 +00:00
romanb
0a497062c9 [2.0] Renamed some methods for a better API. 2009-08-03 17:18:37 +00:00
romanb
00599a80d4 [2.0] Streamlined result structures. Hydration improvements: Small overall improvements, large improvement for (joined) fetched collections (~60%). 2009-08-03 13:25:56 +00:00
romanb
e1f2b8abec [2.0] Implemented support for mapped superclasses. Fixed #2353. 2009-07-30 15:16:02 +00:00
romanb
92214eaf37 [2.0] Part II for ticket #2352. Fixed #2352. 2009-07-29 12:00:08 +00:00
romanb
2ec4cc5cbe [2.0] More cleanups for recent lazy-loading implementation and minor object hydration improvements and cleanups. Collection refactoring part I for ticket #2352. 2009-07-29 11:57:27 +00:00
romanb
62446f0f3c [2.0] Cleanup for changeset #6172. 2009-07-28 16:36:24 +00:00
piccoloprincipe
82c416686e [2.0] resolved hydrateAdd() recursivity 2009-07-28 12:30:35 +00:00
piccoloprincipe
c073f1d113 [2.0] completed implementation of lazy loading for Collections. Created debug helper class. Fixed default for orderBy clause to ASC 2009-07-28 11:43:42 +00:00
romanb
2807a83d5d [2.0] Started to simplify commit order calculation. 2009-07-27 09:50:22 +00:00
romanb
28ca2acb8b [2.0] Refined implementation and semantics of the merge and detach operations. General cleanups and API improvements. Added a testcase for detaching/serializing->unserializing->modifying->merging to demonstrate the transparent serialization. 2009-07-25 16:33:29 +00:00
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