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

975 Commits

Author SHA1 Message Date
Benjamin Eberlei
3c0f92f4c7 Remove call to EntityManager#flush() if the unitofwork contains pending insertions. Flush should always be triggered explicitly. 2010-12-11 00:54:54 +01:00
Benjamin Eberlei
4f154b6aa1 DDC-920 - Fix bug when detaching a managed entity that is not yet in the identity map (no id). 2010-12-10 21:55:48 +01:00
Benjamin Eberlei
5e788a0b84 DDC-915 - Bugfix in Identification Variable reordering in combination with SQL Walkers. 2010-12-08 23:42:02 +01:00
Benjamin Eberlei
1daf658ec6 DDC-917 - Skip Mapped Superclasses in the Drop Sequence Loop in SchemaTool. 2010-12-08 23:36:15 +01:00
Benjamin Eberlei
aa2501eb96 DDC-917 - Bugfix with DriverChain::getAllClassNames() - It was not semantically correct and returning too many metadata. 2010-12-08 23:29:21 +01:00
Benjamin Eberlei
ef50d940de CleanUp in SchemaTool. 2010-12-08 21:21:00 +01:00
Benjamin Eberlei
9a68015ccf Bump Dev Version to 2.0.0-DEV 2010-12-04 05:29:18 -05:00
Benjamin Eberlei
72ba369dbb Revert Version to 2.0.0RC1-DEV 2010-12-04 05:28:26 -05:00
Benjamin Eberlei
8654d060c6 Bump Dev Version to 2.0.0-DEV 2010-12-04 05:24:00 -05:00
Jonathan H. Wage
687548cde2 Merge branch 'master' of github.com:doctrine/doctrine2 2010-12-03 11:44:53 -06:00
Jonathan H. Wage
054f26c0a7 Fixing issue with change to ClassMetadataFactory constructor and ConvertMappingCommand. 2010-12-03 11:44:22 -06:00
Benjamin Eberlei
c6a6aaf493 DDC-899 - Add method to check if EntityManager is still open. 2010-12-03 17:44:24 +01:00
Benjamin Eberlei
8e4197adc5 DDC-909 - Fix Result Cache with entities as parameters. 2010-12-03 17:34:56 +01:00
Pascal Borreli
0ba9321f06 [ORM] Fixed typo 2010-11-30 02:50:34 +08:00
Fabien Potencier
892eec2f26 Update Symfony\Component\Console to latest version 2010-11-30 02:45:04 +08:00
Benjamin Eberlei
796b62cd2c DDC-897 - Fix DisconnecetdClassMetadataFactory with regards to namespace setting, now inferred from the FQCN. 2010-11-27 22:17:55 +01:00
Benjamin Eberlei
dff5dae416 DDC-897 - Make ClassMetadataFactory configurable. 2010-11-27 20:53:26 +01:00
Benjamin Eberlei
7196999b69 DDC-895 - Fix Generated XML from XMLExporter and remove silly formatting xml code used on SimpleXML by just stuffing it into DOMDocument with formatOutput=true. 2010-11-27 20:32:14 +01:00
Benjamin Eberlei
386b7e26d6 DDC-888 - Fix Warning in AnnotationsDriver when using @JoinTable without explicitly defining join- and inverse join-columns. 2010-11-27 20:05:36 +01:00
Benjamin Eberlei
51922a1ff0 DDC-855 - Fix EntityGenerator annoyance when run successive times. 2010-11-27 19:57:37 +01:00
Benjamin Eberlei
e4f74d8290 DDC-886 - Bugfix for composite identifier flag not being mapped to child classes in inheritence/mapped superclass scenarios. 2010-11-27 17:38:12 +01:00
Benjamin Eberlei
e142bd1f30 Merge and modify juokazs Sqlsrv changes 2010-11-18 23:14:07 +01:00
Benjamin Eberlei
97b80d69f1 Fix several test-issues after upgrading dependencies and a Bug in a SchemaTool and DatabaseDriver 2010-11-18 23:07:32 +01:00
Benjamin Eberlei
a2cbb8f72f DDC-882 - Bugfix with typehint 2010-11-18 20:45:44 +01:00
Juozas Kaziukenas
ec50125568 Fix for foreign keys and autoincrement 2010-11-17 14:07:05 -08:00
Juozas Kaziukenas
b6da2e0e42 Proper FORM clause generation to support locking 2010-11-16 16:12:08 -08:00
Juozas Kaziukenas
494bfc8966 Fixed length, lower, upper and mod AST functions to use platform for generating SQL 2010-11-16 15:41:41 -08:00
Benjamin Eberlei
c1661dd53e DDC-511 - MappedSuperclasses specifications of inheritance mapping details make no sense and are ignored 2010-11-16 21:53:46 +01:00
Benjamin Eberlei
ae76b2ab8d DDC-853, DDC-629 - Fix drop schema always dropping everything at the cost of potential failures when dropping due to foreign keys. Added a full-database drop mode that resembles the old behavior. 2010-11-16 21:31:54 +01:00
Benjamin Eberlei
85a579febc DDC-867 - Deep clone of the QueryBuilder nested expression objects 2010-11-15 21:32:38 +01:00
Benjamin Eberlei
ece27e39c4 Merge branch 'DDC-736' 2010-11-13 09:53:00 +01:00
Benjamin Eberlei
d3d3032759 DDC-736 - Simplified patch and extended test to verify scalar results are still in order. 2010-11-13 09:52:35 +01:00
Benjamin Eberlei
ae9080aa98 DDC-873 - throw exception if trying to add @version to @id 2010-11-11 21:21:17 +01:00
Benjamin Eberlei
4ea3277c28 DDC-856 - Add default "string" type to discriminator column, throw exception on specification of a bunch of invalid types 2010-11-11 21:13:03 +01:00
Benjamin Eberlei
e4280cf82e DDC-736 - Fix ordering of identification variables in DQL parser to be by specification. 2010-11-11 21:12:09 +01:00
Benjamin Eberlei
ac85584e9b DDC-870 - Fix several bugs with optimistic locking, conversion of types, multiple updating of values and inheritance related stuff. 2010-11-09 23:15:14 +01:00
Benjamin Eberlei
53e8b8f32d DDC-868 - Fix bug where a ClassMetadata instance from a STI child level is processed before the parent. 2010-11-09 22:13:35 +01:00
Benjamin Eberlei
31efc9a149 DDC-861 - Rework ProxyFactory to not use autoloader anymore 2010-11-05 22:17:05 +01:00
Benjamin Eberlei
6a904a2d67 DDC-860 - Allow access to EntityManager in loadClassMetadata event 2010-11-05 22:13:19 +01:00
Benjamin Eberlei
634aa0b291 DDC-832 - Small adjustments in the patch 2010-10-31 11:11:23 +01:00
Roman S. Borschel
4f71c3e6a3 [DDC-812] Fix uninitialized collections of managed entities not being initialized on subsequent fetch-join. 2010-10-31 11:07:26 +01:00
Benjamin Eberlei
008601f2ea DDC-758 - Respect notify change tracking. 2010-10-31 07:23:58 +01:00
Benjamin Eberlei
23795605fc DDC-758 - Fix bugs with adding and removing elements from a cascade merge Collection. This fix leads to a significant hit in merge performance of collections since they have to be initialized to the current database state, leading to an additional sql query being executed + hydration. 2010-10-31 07:06:53 +01:00
Benjamin Eberlei
97eeb437b2 DDC-832 - Fix regression introduced with last commit. 2010-10-30 19:54:36 +02:00
Benjamin Eberlei
3936f179e9 Merge branch 'DDC-832' 2010-10-30 19:34:00 +02:00
Benjamin Eberlei
515ef33665 Fix quoting in BasicEntityPersister::_updateTable and BasicEntityPersister::delete. Added 6 tests for quoting of table names in different update, delete and inheritance scenario combinations 2010-10-30 19:33:20 +02:00
Benjamin Eberlei
aa2a80f3ff DDC-787 - Fix table name casing in DatabaseDriver 2010-10-30 12:35:22 +02:00
Benjamin Eberlei
338476805d DDC-830 - Fix extended class in EntityGenerator 2010-10-30 09:16:55 +02:00
Benjamin Eberlei
35860d9a94 Fix for DDC-839: Fetch joined collections are not initialized correctly. 2010-10-29 13:14:35 +02:00
Benjamin Eberlei
89d0a52c4f DDC-833 - Fix some nasty bug occouring when re-creating an entity that was a proxy before. Also found another nasty issue with refreshing entity that had an already loaded many-to-many or one-to-many association. 2010-10-11 22:15:18 +02:00