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

522 Commits

Author SHA1 Message Date
beberlei
13bf8a760f [2.0] DDC-322 - Fixed Trim across all platforms using AbstractPlatform::getTrimExpression() 2010-02-11 21:19:54 +00:00
beberlei
8357289050 [2.0] DDC-320 - Fixed Substring across all platforms using AbstractPlatform::getSubstringExpression() instead of the "hand-built" one. 2010-02-11 20:19:05 +00:00
beberlei
57ef5f5aeb [2.0] Added DQL Functions and Aggregate Functional Test-Case and fixed two small bugs in DQL Parser that came to light, also it seems that some of the functions are not supported by Oracle and Sqlite and some cases of SUBSTRING and TRIM produce bugs on MySQL. 2010-02-11 18:59:58 +00:00
romanb
86c12a07e5 [2.0] Fixed proxy classes to not invoke parent class constructors. We never call constructors to reconstitute persistent entities and proxies always represent persistent entities. 2010-02-11 09:48:57 +00:00
beberlei
962ecab75e [2.0] DDC-312 - Prepared View and Trigger support in DBAL\Schema 2010-02-10 23:53:07 +00:00
romanb
ae6e597dca [2.0][DDC-311] Fixed. 2010-02-10 22:17:43 +00:00
beberlei
04832e2789 [2.0] DDC-125 - Query Hints are now included in both QueryCache and ResultCache - QueryCache now also uses firstResult and maxResults for the cache key - ResultCache was fixed to use "getSql()" instead of "getDql()" 2010-02-10 19:09:25 +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
guilhermeblanco
30f9403790 [2.0][DDC-308] Implemented SIZE() function support to many2many relations 2010-02-10 02:31:55 +00:00
guilhermeblanco
d642fb9642 [2.0][DDC-307] Fixed wrong generation of SQL when using MOD() function 2010-02-10 01:34:47 +00:00
guilhermeblanco
527c9e760f [2.0][DDC-306] Fixed issue with non-existant class DoctrineException 2010-02-10 01:30:24 +00:00
beberlei
54010a55b0 [2.0] DDC-309 - Allow multiple IteratbleResult instances and work on them concurrently. 2010-02-09 19:58:04 +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
da2c329e60 [2.0] Fix casing bug in Parser - IfFunction checks lower-case the function name, but register methods don't. 2010-02-07 22:55:26 +00:00
beberlei
98a77d9387 [2.0] Add missing Docblock comments in AbstractCollectionPersister 2010-02-07 13:23:20 +00:00
beberlei
005d3b432b [2.0] DDC-163 - Missing DQL Alias prefix for many-to-many table in SqlWalker lead to duplicate prefix generation in SQL statement when a many-to-many join table is used more than once. 2010-02-07 13:05:48 +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
dcfb856dde [2.0] DDC-259 - Added SQL statement terminator symbol to dump-sql mode SchemaToolTask 2010-02-02 21:22:57 +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
beberlei
3bec7689a7 [2.0] Fixed little invalid string where array is necesary bug in SchemaTool 2010-01-31 11:50:34 +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
d76096d045 [2.0][DDC-288] Removed deprecated flush modes. 2010-01-29 21:36:05 +00:00
romanb
94d41dfbdc [2.0][DDC-279] Fixed. 2010-01-29 21:24:29 +00:00
hobodave
1ad982a4fe [2.0][DC-460] Refactored cache bulk deletion methods to use driver specific features to retrieve list of keys. Also, refactored tests
so that all methods are tested for all drivers.

Removed:

- Doctrine\Common\Cache\AbstractCache::count()
- Doctrine\Common\Cache\AbstractCache::deleteAll()

API Changes:

- Doctrine\ORM\AbstractQuery::getResultCacheId() now public

Bugs fixed:

- Doctrine\Common\Cache\AbstractCache::deleteByPrefix() was deleting _every_ key in cache
2010-01-29 01:38:37 +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
60d00a63b3 [2.0] Add Message to NoResultException 2010-01-27 18:00:10 +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
beberlei
0cdb799545 [2.0] Add missing doc-block comments to EntityRepository instance variables. 2010-01-16 22:39:54 +00:00
romanb
0a9876b2e8 [2.0][DDC-248] Fixed and some more unrelated tests. 2010-01-15 13:33:42 +00:00
guilhermeblanco
d060a48cb4 [2.0][DDC-249] Fixed issue that documentation refers QueryBuilder::select() supports array, but it was only restricted to strings. 2010-01-14 16:15:58 +00:00
guilhermeblanco
8c3ba7dbf0 [2.0][DDC-249] Fixed issue that documentation refers QueryBuilder::select() supports array, but it was only restricted to strings. 2010-01-14 16:14:41 +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
beberlei
6e4e45e18e DDC-233 - Fixed use of array_merge() because it re-assigns the numerical indexes from 0 on. 2010-01-06 14:21:17 +00:00
beberlei
375c470e93 DDC-155 - Skip __sleep in generateMethods 2010-01-06 14:12:27 +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