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

384 Commits

Author SHA1 Message Date
Roman S. Borschel
760ea34a0c [DDC-497][DDC-500][DDC-342] Fixed. Persister polishing and refactoring. More to come for that, but after beta1. 2010-04-26 13:02:30 +02:00
Jonathan H. Wage
27a0058b89 Initial entry of StaticPHPDriver 2010-04-23 16:16:16 -04:00
Jonathan H. Wage
6d29f05d3a Renaming PhpDriver to PHPDriver 2010-04-23 14:37:29 -04:00
Roman S. Borschel
4b71afe7c2 Improving metadata caching performance by only serializing what is absolutely necessary. 2010-04-18 22:47:03 +02:00
Roman S. Borschel
f3c672a2e5 Merged from upstream/master. 2010-04-14 17:21:15 +02:00
Roman S. Borschel
d4232d906e [DDC-388] Fixed. 2010-04-14 17:07:08 +02:00
Roman S. Borschel
7fefe3f4b4 Merge commit 'upstream/master' 2010-04-14 10:50:37 +02:00
Roman S. Borschel
4106002344 Small refactorings. 2010-04-14 10:46:35 +02:00
Jonathan H. Wage
44e656dc0a Adding description to _getParentClasses() 2010-04-13 18:24:48 -04:00
Jonathan H. Wage
5cfe9e1d94 Introducing DisconnectedClassMetadataFactory that will replace the need for ClassMetadataReader 2010-04-13 18:20:41 -04:00
Jonathan H. Wage
5442a32db8 Fixing incorrect exception method used 2010-04-13 14:09:39 -04:00
Jonathan H. Wage
071adf68cd Fixing tabs in ClassMetadata class 2010-04-13 14:09:11 -04:00
Roman S. Borschel
6d08164162 Merge commit 'upstream/master' 2010-04-13 00:50:12 +02:00
Roman S. Borschel
db603547a2 Added failing test for DDC-388. Naming refactorings and comment cleanups. 2010-04-13 00:49:19 +02:00
Benjamin Eberlei
45cd2afd27 DDC-510 - Simplified Condition to check if Paths are set in AnnotationDriver 2010-04-11 10:52:53 +02:00
Benjamin Eberlei
6e5b1bbe60 DDC-510 - Refactored Metadata Driver to be an required option, even for Annotations - allowing to use the specified paths in ORM Tooling Commands 2010-04-10 17:35:18 +02:00
Roman S. Borschel
7cc56c45d3 [DDC-193] Fixed. 2010-04-10 00:00:36 +02:00
guilhermeblanco
511bf2248e [2.0] Fixed and added some missing/wrong docblocks. Renamed Assigned to AssignedGenerator as scheduled to be renamed. 2010-03-30 21:14:17 +00:00
romanb
354ede1e04 [2.0][DDC-354][DDC-425] Fixed. Encapsulated SQL logging better in the DBAL. Added binding types to DBAL mapping types as well as using these binding types in the persisters. Query and NativeQuery now support PDO binding types as well as DBAL mapping types when binding parameters. 2010-03-29 13:20:41 +00:00
beberlei
6b86c97f0a [2.0] DDC-457 - Fix invalid reference to MappingException in Xml and Yml Drivers 2010-03-26 18:29:20 +00:00
beberlei
f78ac41cd8 [2.0] DDC-239 - Added several new mapping validations for duplicate association/field and or column name definitions, and in combination with the discriminator column name. 2010-03-20 19:19:12 +00:00
beberlei
1ddebef8a4 [2.0] DDC-318 - Fixed idempotency issues with AnnotationDriver::getAllClassNames() even across multiple instances using the same metadata paths. 2010-03-18 23:04:21 +00:00
romanb
cc9b0ff63b [2.0][DDC-433] Fixed typo. 2010-03-18 13:46:25 +00:00
romanb
9bb25925c0 [2.0][DDC-433] Fixed. 2010-03-18 11:53:26 +00:00
jwage
770d00abe9 [2.0] Improving test coverage for mapping exporters as well as adding missing functionality 2010-03-17 21:25:19 +00:00
jwage
e06f7c981d [2.0] Updating Symfony Yaml component to PHP 5.3 version 2010-03-16 23:03:29 +00:00
jwage
a25c704246 [2.0] Fixing PhpDriver and covering it with tests 2010-03-16 22:41:09 +00:00
guilhermeblanco
0fde94ddcf [2.0] Fixed custom functions support that was failing to be processed. Also fixed syntax error of Function support. 2010-03-16 14:01:54 +00:00
beberlei
ec4bd256d5 [2.0] DDC-412 - Fixed YAML Driver not allowing multiple lifecycle callbacks per event. Backwards-incompatible change 2010-03-15 19:29:07 +00:00
romanb
a53c2fbd6c [2.0] Code cleanups. Preparations for DDC-193. Fixed DDC-399, type configuration remains global for now but the irritating instance methods on the Configuration have been removed. Use Type::addType et al. Added TODOs for naming standards. 2010-03-15 17:19:00 +00:00
romanb
df6ca602fb [2.0][DDC-92] Fixed. Patch provided by Christian Heinrich. [DDC-274] Started some method renaming. [DDC-142] Fixed (join column names and discriminator column names dont support quoting) [DDC-258] Fixed. 2010-03-05 16:35:00 +00:00
guilhermeblanco
0af8b66599 [2.0][DDC-389] Fixed the PHPDriver that was causing a fatal error when classes uses inheritance type join. Thanks Tiago Ferreira for report and patch. 2010-03-03 17:46:21 +00:00
guilhermeblanco
3eff1d1c5b [2.0] Fixed issue with classmetadata cache that was saving the entire inheritance on the same cacheKey. 2010-03-03 14:39:49 +00:00
guilhermeblanco
dc1f61c0e3 [2.0] Fixed issue with classmetadata cache that was saving the entire inheritance on the same cacheKey. 2010-03-03 14:38:39 +00:00
guilhermeblanco
0cbc9aa672 [2.0][DDC-387] Fixed wrong variable name in MappingException. Thanks Christian for report 2010-03-03 01:38:21 +00:00
guilhermeblanco
4ac39f0cbd [2.0][DDC-379][DDC-384] Implemented Entity namespace alias support. 2010-03-03 01:30:00 +00:00
romanb
9427a85e4e [2.0] Fixed missing argument in AbstractFileDriver. 2010-03-01 22:23:39 +00:00
guilhermeblanco
a56689be67 [2.0] Reverted wrong changeset of commit related to 7246 2010-03-01 04:23:23 +00:00
guilhermeblanco
fc5960c489 [2.0][DDC-265] Partial support to inheritanceType in AnnotationExporter. Still needs to add the discriminator column. 2010-03-01 04:03:44 +00:00
beberlei
eb00a3b817 [2.0] DDC-195 - Refactored Mapping Syntax again to be arrays in all annotations, xml and yaml drivers instead of parsing the fields in the AssociationMapping implementations. 2010-02-26 21:26:06 +00:00
jwage
7c81b0b003 [2.0] Adding support for entity aliases in the query language 2010-02-26 18:11:53 +00:00
jwage
c8ef304bcc [2.0] Adding getDrivers() method to DriverChain 2010-02-26 01:27:10 +00:00
beberlei
b7de1ed115 [2.0] Fixed missing parameter in MappingException::mappingFileNotFound 2010-02-25 21:36:48 +00:00
beberlei
bbda52a448 [2.0] DDC-376 - Fix in XML Mapping Driver 'inheritance-type' attribute. 2010-02-25 21:16:05 +00:00
beberlei
43ecaf54a2 [2.0] DDC-374 - Implement and tested DriverChain Mapping Adapter 2010-02-25 19:58:39 +00:00
jwage
fcd623e8ef [2.0] Adding DriverChain mapping driver type to allow you to configure drivers to use for certain entity namespaces 2010-02-25 19:33:21 +00:00
beberlei
cbd8133308 [2.0] DDC-367 - Fixed Bug with <discriminator-map /> XML Driver Parsing 2010-02-24 19:31:53 +00:00
romanb
4685a9ab6a [2.0][DDC-355] Fixed. Patch provided by Christian Heinrich. 2010-02-23 14:02:31 +00:00
romanb
22fce635c0 [2.0][DDC-339][DDC-340] Fixed. 2010-02-20 18:27:05 +00:00
romanb
639718e95c [2.0][DDC-335][DDC-347][DDC-317] Fixed. Also prepared DQL for CASE/COALESCE/NULLIF support. 2010-02-19 21:28:17 +00:00
beberlei
31b0705ed5 [2.0] DDC-336 DDC-337 - Changed @OrderBy annotation to take a DQL not SQL snippet, restrict it to field names and positional orderings. Changed all test-cases and added a test-case that shows the behaviour for OneToMany JoinedSubclassPersister Managed Entities. 2010-02-15 22:50:35 +00:00
beberlei
30d1b54db1 [2.0] DDC-337 - Collections that are fetched through StandardEntityPersister and ordered are sorted by any given ORDER BY snippet. Now only the DQL Parser is missing in this regard. 2010-02-14 21:21:43 +00:00
beberlei
ab3a6cc16e [2.0] DDC-336 - Support specification of an OrderBy SQL snippet in OneToMany and ManyToMany Associations in Annotation, XML and YAML Drivers 2010-02-14 19:38:22 +00:00
beberlei
49d2dd9bf2 [2.0] DDC-329 - Allow Reverse Engineering with multiple column foreign keys 2010-02-13 22:28:33 +00:00
beberlei
6271245831 [2.0] DDC-318 - Fix successive calls to AnnotationDriver::getAllClassNames() 2010-02-11 22:47:59 +00:00
romanb
ae6e597dca [2.0][DDC-311] Fixed. 2010-02-10 22:17:43 +00:00
romanb
ca23555c3e [2.0][DDC-79][DDC-261] Fixed. Also fixed support for deleting objects by reference (getReference() + remove() + flush()) to effectively delete objects without loading them. 2010-02-10 10:47:42 +00:00
romanb
4adc289596 [2.0][DDC-284] Fixed. API polish and some convention over configuration simplifications for join columns and join tables. 2010-02-09 17:13:49 +00:00
beberlei
ac4c33c371 [2.0] DDC-214, DDC-303, DDC-304 - Fix several errors with Schema Inference from Database and Metadata and Comparisons, aswell as related bugs in DatabaseDriver. DDC-305 - Abstracted TRUNCATE command for all platforms. 2010-02-07 12:36:30 +00:00
beberlei
7cf8d1ae52 [2.0] DDC-268 Added missing duplicateAssociationMapping() method to MappingException 2010-02-02 21:46:39 +00:00
beberlei
703ba989be [2.0] DDC-268 - Exchanged DoctrineException for MappingException and added missing exception method (thanks to Christian Heinrich for the patch) 2010-02-02 21:17:00 +00:00
beberlei
ee9aa005b2 [2.0] DDC-271 - Add columnDefinition for Join-Column in Annotation, XML and YAML driver, updated SchemaTool to use Join Column definition instead of using the column's columnDefinition if specified. Refactored MappingDriverTest to allow for feature specific test-cases instead of one large assertion block. Fixed typos in XmlDriver - Updated doctrine-mapping.xsd Schema File 2010-02-01 21:48:27 +00:00
guilhermeblanco
f6d17b79d8 [2.0][DDC-286][DDC-287] Fixed missing method and casting. Thanks Hannes for reporting and patch. 2010-01-30 21:11:13 +00:00
romanb
94d41dfbdc [2.0][DDC-279] Fixed. 2010-01-29 21:24:29 +00:00
guilhermeblanco
a8bcf0f7ac [2.0][DDC-281] Fixes for Mapping drivers 2010-01-28 19:47:11 +00:00
guilhermeblanco
443a20569b [2.0][DDC-281] Fixes for Mapping drivers 2010-01-28 19:38:16 +00:00
guilhermeblanco
14ec40e1e6 [2.0][DDC-281] Fixed several issues with mapping drivers and loading of mapping files. 2010-01-28 12:46:12 +00:00
beberlei
a652bc69b3 [2.0] DDC-247 - Fix bug with nullable not working in XML field and join-column properties. 2010-01-27 23:00:55 +00:00
guilhermeblanco
9d7bd7336c [2.0] Fixing issue with multiple class directory loading in Annotations driver 2010-01-27 22:04:37 +00:00
beberlei
4e3edec899 [2.0] Fix typo in variable name of AbstractFileDriver::getAllClassNames() 2010-01-27 19:21:07 +00:00
beberlei
eebb7c7e18 [2.0] DDC-277 - Remove support "default" option in metadata mappings, but keep it as a concept in DBAL layer to support for example versionable entities. 2010-01-26 21:45:20 +00:00
beberlei
c0d023c511 [2.0] Removed accidentlly committed .orig patch files. 2010-01-22 16:29:48 +00:00
romanb
4bec3e2c49 [2.0][DDC-263] Fixed. Patch provided by Christian Heinrich. 2010-01-22 15:10:13 +00:00
romanb
c4549c4541 [2.0][DDC-260] Fixed/Corrected patch. 2010-01-21 22:26:36 +00:00
romanb
572f728153 [2.0][DDC-260] Fixed/Corrected patch. 2010-01-21 22:25:42 +00:00
guilhermeblanco
37cb86fe81 [2.0][DDC-260] Added support for better error reporting on ClassMetadata 2010-01-21 19:52:17 +00:00
beberlei
9cd0379f53 [2.0] DDC-200 Implemented support for @columnDefinition - even with support to pass the definition to join columns if necessary for relations. 2010-01-20 22:35:18 +00:00
romanb
46ed63d131 [2.0][DDC-251] Fixed. 2010-01-18 12:50:39 +00:00
romanb
0a9876b2e8 [2.0][DDC-248] Fixed and some more unrelated tests. 2010-01-15 13:33:42 +00:00
guilhermeblanco
2ff76e44c0 [2.0][DDC-254] Improved MappingException thrown on missing required configuration of Many-Many mapping 2010-01-14 15:48:42 +00:00
romanb
674e9beea2 [2.0][DDC-242][DDC-243] Fixed. 2010-01-06 17:18:10 +00:00
guilhermeblanco
9ad13c4730 [2.0][DDC-236] Enhanced unique constraints to support names. Fixed general issues on XML and YAML exporters. Fixed issues on XML, YAML, Doctrine 1.X and Annotation drivers. 2010-01-06 13:23:56 +00:00
romanb
60b9fb7c5b [2.0] Some small cleanups. 2009-12-21 11:06:27 +00:00
romanb
d54a3ad7d0 [2.0][DDC-215] Fixed. 2009-12-19 13:52:36 +00:00
romanb
30ed439111 [2.0][DDC-144][DDC-113] Fixed. 2009-12-18 12:30:19 +00:00
romanb
3d14da4105 [2.0][DDC-168] Moved INSERT SQL generation to persisters during runtime. 2009-12-17 13:37:47 +00:00
romanb
fe7ef4bbeb [2.0][DDC-122][DDC-97][DDC-98][DDC-147] Refactored metadata mapping drivers by removing the useless PRELOAD mode. Introduced ClassMetadataFactory#getAllMetadata. Classloader simplifications. Old classloaders deprecated. New Doctrine\Common\ClassLoader is almost the same as the previous IsolatedClassLoader. 2009-12-15 21:06:32 +00:00
beberlei
e6a10d36d9 [2.0] Added missing Import of MappingException in XmlDriver 2009-12-12 09:44:36 +00:00
beberlei
4938228234 [2.0] DDC-206 - Bugfix in XML Metadata Driver 2009-12-12 08:27:24 +00:00
beberlei
731c9718aa [2.0] DDC-40 - Matching annotations <-> auto sequence expectations. 2009-12-11 00:56:47 +00:00
beberlei
fade63a29c [2.0] DDC-169 - Further refactorings, schema max identifier length is now used for asset generation. Added platform-wide test for unique index generation with create table. 2009-12-10 23:55:47 +00:00
romanb
909e98c6f2 [2.0][DDC-202][DDC-132][DDC-185] Fixed. 2009-12-09 12:37:57 +00:00
romanb
5730a32d91 [2.0] Fixed more STRICT standards notices (only variables should be passed by reference...). @beberlei, error_reporting=E_ALL | E_STRICT 2009-12-07 13:04:54 +00:00
romanb
1013eb66c1 [2.0] Fixed PHP Notice in SchemaTest (only variables should be passed by reference...) and a few other cosmetics in various parts. 2009-12-07 12:47:23 +00:00
beberlei
a0d26a8409 [2.0] DDC-169 - Fixed DatabaseDriver 2009-12-05 09:39:11 +00:00
beberlei
556f8699ee [2.0] DDC-186 - Fixed DatabaseDriver to work with new Schema abstraction, added functional test-cases for database to yaml convertion. 2009-12-04 21:40:03 +00:00
romanb
555b097641 [2.0][DDC-164][DDC-165] Fixed. Cleaned up ManyToManyMapping. Cleaned up identifier handling and handling of composite identifiers in some places. 2009-11-21 18:52:02 +00:00
romanb
32e608e5e2 [2.0][DDC-159] Fixed. 2009-11-19 17:35:14 +00:00
beberlei
884131e51f [2.0] DDC-115 - Proper fix of global namespace problem was in the ClassMetadataInfo, a namespace plus seperator was appended for reasons of shortcuts. However this broke associations in global namespace. Changes to ClassMetadataFactory were reverted and fix plus tests applied to ClassMetadataInfo. 2009-11-04 23:06:38 +00:00
beberlei
120e6942e8 [2.0] DDC-115 - Fix for multiple class metadata instances because of classes being addressed with or without prepending namespace separator. 2009-11-04 19:59:34 +00:00
romanb
7bbdac1c88 [2.0][DDC-61][DDC-108] Fixed. Started exception refactoring. 2009-11-03 18:30:21 +00:00
guilhermeblanco
49bcc69f3a [2.0] Moved EntityManager creation to be always available in CLI Tasks 2009-10-30 00:15:53 +00:00
romanb
4fc1781d78 [2.0][DDC-22] Fixed. Also cleaned up association handling. More to come: exception refactorings, proxy simplifications (single proxy class, not two). 2009-10-28 10:31:47 +00:00
guilhermeblanco
e832d1723a [2.0] Fixed typo 2009-10-26 18:57:14 +00:00
romanb
ac4b4889a6 [2.0][DDC-57] Fixed. 2009-10-26 13:05:32 +00:00
romanb
4918d3e174 [2.0] Simplification and fix to cascades. 2009-10-25 22:04:13 +00:00
romanb
08694d1826 [2.0] Some optimizations and small fixes. 2009-10-25 21:40:57 +00:00
romanb
a4913774c8 [2.0] Added ConnectionTest. Fixed sandbox. 2009-10-23 21:47:25 +00:00
romanb
4328a4e9e3 [2.0] Small refactorings on the cache drivers. Introduced flag to control whether the cache driver should manage the cache keys since this is an advanced feature that is not always needed and can have negative side-effects (higher probability for cache slams). 2009-10-23 15:03:00 +00:00
romanb
5b60f87859 [2.0] Fixed some known issues with inheritance, especially class table inheritance, like join columns not being selected. 2009-10-22 19:12:00 +00:00
romanb
e2d678cc10 [2.0] Refactorings to reduce duplicated code and increase efficiency. 2009-10-22 12:50:58 +00:00
romanb
0b3ae4b169 [2.0] Removed all remaining references to deprecated allowPartialObjects option. 2009-10-15 19:03:27 +00:00
romanb
9200e17bc1 [2.0][DDC-51] Fixed. 2009-10-15 17:07:37 +00:00
romanb
5842411afe [2.0][DDC-49][DDC-50][DDC-33] Fixed DDC-49 and DDC-50. Also addressed DDC-33. Various other small changes and fixes. For problems with proxy objects please refer to the updated documentation. 2009-10-15 14:39:43 +00:00
romanb
cb1c7bce48 [2.0] DBAL cleanups (DDC-46). Proxy class improvements (DDC-19, DDC-39). Started new UPGRADE_TO document for upgrade instructions between advancing Doctrine 2 versions. 2009-10-14 20:18:36 +00:00
romanb
7ec25f196a [2.0] Added missing recognition of the 'fetch' attribute in metadata drivers. 2009-10-12 12:54:14 +00:00
romanb
bb6e54fba1 [2.0][DDC-21] Fixed. 2009-10-09 14:27:35 +00:00
jwage
471e3f8f0c [2.0] Fixed strict standards notice 2009-10-08 18:54:39 +00:00
jwage
6fd2eaa45d [2.0] Fix to DatabaseDriver so drivers that don't support foreign keys will still work 2009-10-08 18:54:19 +00:00
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
jwage
09a48a896e [2.0][DDC-34] Fixing issue with duplicate association mappings when dealing with mapped super classes 2009-10-07 18:53:30 +00:00
jwage
dba0764115 [2.0] Fixing exception messages for mapping fields and associations 2009-10-07 18:52:51 +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
jwage
b353dc5172 [2.0] Adding EntityRepository::createQueryBuilder() method 2009-10-05 05:42:30 +00:00
jwage
d1b2f93acb [2.0] Splitting ClassMetadata in to ClassMetadataInfo and other bug fixes 2009-10-05 04:11:29 +00:00
jwage
968ebb80c2 [2.0] Bug fixes 2009-10-04 19:35:47 +00:00
romanb
b9ec48d68e [2.0][DDC-31] Fixed. 2009-10-03 22:00:01 +00:00
guilhermeblanco
fe5a356aa0 [2.0][DDC-31] Fixed issue with column definition of 'name' when it is not set. 2009-10-03 16:19:51 +00:00
jwage
e6131d11ac [2.0] More work on ClassmetadataExporter and ConvertMappingTask for converting mapping information between various formats 2009-09-30 04:35:43 +00:00
jwage
01d6a61a90 [2.0] Fixes for some strict standards notices and other various things 2009-09-29 15:54:16 +00:00
romanb
8c5887d05d [2.0][DDC-5] Fixed. 2009-09-19 12:17:01 +00:00
guilhermeblanco
7ef91a6449 [2.0] Some work over SchemaTool update of schema (affects directly the CLI schema-tool task on --update option. 2009-09-12 23:25:47 +00:00
jwage
93445983fb [2.0] Changes to convert Classmetadata constant integers to string representation 2009-09-12 23:17:49 +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
de67ffa187 [2.0] Initial entry of ClassmetadataExporter class skeleton/drivers 2009-09-11 01:03:46 +00:00
jwage
79393daf25 [2.0] Casting options as an array 2009-09-08 20:58:11 +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
60b31c7ae0 [2.0] Implemented CLI Task Version. Added support to DECIMAL datatype. 2009-09-04 19:08:32 +00:00
guilhermeblanco
eb25422617 [2.0] Fixing spacing and adding precision and scale in Annotations driver. Also introduced options item in Annotation and Yaml mapping drivers. Missing XML driver implementation. 2009-09-04 18:35:40 +00:00
romanb
bf1a52517d [2.0] Fixed issue with file-based metadata drivers and the CLI. 2009-09-02 16:08:03 +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
jwage
f83fd8e950 [2.0] Updating exceptions to use methods so that we can later provide better exception messages 2009-08-26 22:03:39 +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
27356225dd [2.0] Updating YAML driver with missing elements from XML driver. 2009-08-24 18:33:59 +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
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
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
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
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
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
56a708843d [2.0] Added missing detach cascade option. 2009-07-25 16:52:19 +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
romanb
ae1b9371ec [2.0] Fixed #2366. 2009-07-21 15:53:58 +00:00
romanb
49434b0322 [2.0] Further cleanups. Started eager loading support. 2009-07-21 09:25:14 +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
59cf1f745d [2.0] added entity lifecycle events. 2009-07-18 18:06:30 +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
cc3ea569a4 [2.0] Initial version of optimistic locking with integer version columns 2009-07-17 18:13:03 +00:00
piccoloprincipe
6e4c24684c [2.0] added load() method 2009-07-17 13:41:03 +00:00
piccoloprincipe
52d55da356 [2.0] working implementation of Association Proxy classes 2009-07-17 13:35:44 +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
35aa9a4850 [2.0] Adding missing event classes and some AnnotationDriver refactorings. 2009-07-15 16:31:59 +00:00
romanb
3ba3c67f54 [2.0] Namespaced annotations. 2009-07-15 10:59:35 +00:00
romanb
2ffc7f17db [2.0] Migrated AnnotationDriver to new annotation parser. Removed addendum vendor library. 2009-07-08 15:25:41 +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
romanb
455f877486 [2.0] Minor refactorings and docblock adjustments. Fixed #3202. 2009-06-30 16:00:28 +00:00
romanb
537c8e4951 [2.0] Implemented DQL bulk DELETE support for Class Table Inheritance. Other cleanups, refactorings and docblock additions. 2009-06-22 18:48:42 +00:00
romanb
104398003c [2.0] Parser work. 2009-06-14 17:34:28 +00:00
romanb
84c62d8aec [2.0] Cleanup. 2009-06-07 17:21:57 +00:00
romanb
6e5a5068a6 [2.0] Converted constant values from strings to integers. 2009-06-07 17:20:37 +00:00
jwage
9f42e2d969 [2.0] Fixing reference to XML driver 2009-06-05 21:58:05 +00:00
jwage
115e4d01f2 [2.0] Refactoring the meta data drivers and refactoring yaml/xml and adding tests for yaml. 2009-06-05 21:40:47 +00:00
romanb
d90e71d002 [2.0] First implementation of XmlDriver + tests. First draft of XSD document. 2009-06-01 16:14:11 +00:00
romanb
2b8091e80c [2.0] Code review with comments and small corrections. 2009-05-30 09:37:56 +00:00
romanb
f3677a5714 [2.0] Changed identifier quoting strategy to something simpler. Dropped Doctrine prefix from annotations. 2009-05-29 10:23:13 +00:00
romanb
a4e928e118 [2.0] Moved addendum library to vendor dir. 2009-05-28 21:06:24 +00:00
romanb
292e93ded4 [2.0] Formatting issues. 2009-05-28 11:39:16 +00:00
romanb
a758b56551 [2.0] Introduced SQL logging facilities. Made Type constructor private to prevent instantiation and force use of the factory method getType(). 2009-05-28 11:13:12 +00:00
romanb
a421692679 [2.0] Fixed Query Cache (+testcase) and some E_STRICT errors. 2009-05-21 19:18:14 +00:00
romanb
55d70248a9 [2.0] Implemented class table inheritance (no DQL bulk UPDATE/DELETE support yet) 2009-05-21 08:53:40 +00:00
romanb
4f5b332d34 [2.0] Adding insert performance tests. 2009-05-19 16:11:08 +00:00
romanb
96ef7eca13 [2.0] More small internal perf. improvements. 2009-05-14 18:34:12 +00:00
romanb
e79c45f9ac [2.0] Fixed issues discovered during code coverage report generation. Made all ClassMetadata properties public (good reasons, read the class docblock). Performance improvements. 2009-05-14 10:03:09 +00:00
romanb
ecd30bc242 [2.0] Started to implement proxy object handling. Introduced a configuration switch for partial objects (allowPartialObjects) that defaults to TRUE. Setting to FALSE enables proxying and lazy-loading. 2009-05-13 15:19:27 +00:00
romanb
e0488ff8fc [2.0] First draft of EntityManager#merge(). First draft of DynamicProxyGenerator. 2009-05-11 10:43:27 +00:00
romanb
cfae81e11a [2.0] Fixed hydration for bi-directional many-many associations. 2009-05-07 16:36:27 +00:00
romanb
a6d9236ef2 [2.0] Fixes and enhancements to sequence generators. Test suite now runs & passes against postgres. Other minor, unrelated cleanups. 2009-05-05 17:20:55 +00:00
romanb
ae7be288e1 [2.0] Work on single table inheritance with more functional tests. 2009-05-03 10:58:16 +00:00