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

167 Commits

Author SHA1 Message Date
jwage
a7d4e1e466 [2.0] Refactoring some common code in to the AnnotationDriver and creating PhpDriver for consistancy 2009-10-07 22:14:13 +00:00
romanb
b8bcd51ff2 [2.0][DDC-32] Fixed. 2009-10-07 12:39:46 +00:00
jwage
165abc3ca4 [2.0] Work on mapping drivers, exporter drivers and reverse engineering of database schemas 2009-10-07 04:07:23 +00:00
jwage
c8362da494 [2.0] Added functionality to convert a Doctrine 1 schema to Doctrine 2 to help users with upgrading. Lots of other small bug fixes and changes. 2009-10-06 22:38:34 +00:00
romanb
71c1fe5221 [2.0][DDC-2] Fixed. 2009-10-06 10:04:32 +00:00
jwage
bda1b9ae7c [2.0] Fix for package building 2009-10-05 23:54:49 +00:00
jwage
5fb493c5d1 [2.0] Adding test coverage for ClassMetadataExporter 2009-10-05 22:09:29 +00:00
romanb
3d3bcc1742 [2.0][DDC-7] Fixed. 2009-09-15 12:24:38 +00:00
romanb
320d21e2be [2.0] Refactored classloader architecture. Renamed ClassLoader => GlobalClassLoader. Introduced IsolatedClassLoader that is suitable for participating in autoload stacks. Added 2 example entity classes to the sandbox with 2 xml mappings and 2 yaml mappings. Simplified sandbox setup. 2009-09-11 19:50:48 +00:00
jwage
d10daf35f2 [2.0] Changing Expr static methods to be normal public methods (closes #2466) 2009-09-08 22:19:03 +00:00
jwage
7aabee5efc [2.0] Fixing empty insert sql statements (closes #2481) 2009-09-08 19:31:26 +00:00
jwage
7c56bfa156 [2.0] Fixes issue with unique annotation on columns (closes #2476) 2009-09-08 18:12:01 +00:00
guilhermeblanco
e0012f0750 [2.0] Fixed test case. All in-memory changes should be flushed before querying. That's how it works in other ORM tools too 2009-09-06 14:27:38 +00:00
guilhermeblanco
05568fa259 [2.0] Added coverage to expected behavior of IdentityMap 2009-09-06 13:55:01 +00:00
romanb
49a24c4ef8 [2.0] Fixed #2478. 2009-09-06 08:48:44 +00:00
guilhermeblanco
0651397854 [2.0] Added coverage to ticket #2478. Could not get it to fail 2009-09-05 23:37:55 +00:00
romanb
f0da001770 [2.0] Fixed and enhanced tests. 2009-09-05 09:22:34 +00:00
guilhermeblanco
3ef0bf50e9 [2.0] Other fixes, removed E_FATAL of duplicate declaration and added test for Boolean type 2009-09-05 02:44:45 +00:00
romanb
a65ea05f01 [2.0] Fixed scale/precision support in SchemaTool 2009-09-04 20:31:11 +00:00
romanb
94c187685b [2.0] Work on CLI: Added SchemaToolTask with preliminary support for dropping/creating the database schema. Prepared the sandbox. Adjusted build to include the sandbox. 2009-08-31 16:21:29 +00:00
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