romanb
53eb51b687
[2.0][DDC-422] Fixed.
2010-03-18 13:43:38 +00:00
romanb
76663a0501
[2.0][DDC-416] Fixed.
2010-03-18 11:40:43 +00:00
beberlei
bc6714c2c8
[2.0] DDC-414 - Changed semantics of preUpdate Event to allow only changes to the entity changeset, not the internal state of the entity anymore.
2010-03-14 22:16:15 +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
b6cbcb855b
[2.0][DDC-331] Added coverage to CTI not generating valid SQL when fetching for a parent field ona child class.
2010-03-03 02:27:11 +00:00
guilhermeblanco
4ac39f0cbd
[2.0][DDC-379][DDC-384] Implemented Entity namespace alias support.
2010-03-03 01:30:00 +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
8fbcf7d571
[2.0] DDC-381 - Unserialized Entity that was a proxy during serialize() will fatal when accessing methods that call _load() - A check for the existance of entity persister solves the problem.
2010-02-28 14:45:09 +00:00
beberlei
a0fc09855b
[2.0] DDC-353 - Fix UnitOfWork::createEntity and StandardPersister::refresh() not marking created Proxy instances as MANAGED like EntityManager::getReference() does
2010-02-28 14:14:44 +00:00
romanb
536aca23da
[2.0][DDC-371] Fixed together with other hydration/initialization issues.
2010-02-27 17:48:18 +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
beberlei
5bf169202f
[2.0] DDC-370 - Fixed bug with CTI and scalar fields DDC-377 - Fixed failing Oracle test
2010-02-26 20:29:01 +00:00
beberlei
839603dafe
[2.0] DDC-365 - Added tests for several missing column types - also showing that decimals come and go correctly into the database.
2010-02-26 19:39:12 +00:00
jwage
7c81b0b003
[2.0] Adding support for entity aliases in the query language
2010-02-26 18:11:53 +00:00
beberlei
946fa6d7ca
[2.0] Refactored Doctrine\DBAL\Schema API a bit Table::createColumn() was inconsistent with all the other methods being add*
2010-02-25 21:51:30 +00:00
beberlei
d0c9d5b559
[2.0] DDC-375 - Added another test-case for an uncovered branch of subselects in DQL
2010-02-25 21:04:03 +00:00
beberlei
f14dd56907
[2.0] DDC-375 - Fix two issues related to DQL Subselects
2010-02-25 20:25:28 +00:00
romanb
e235044c47
[2.0] Fixed query and result cache to work nice together and avoid unnecessary cache lookups.
2010-02-25 15:47:20 +00:00
romanb
1e6641565e
[2.0][DDC-368] Fixed.
2010-02-24 22:05:40 +00:00
romanb
a1a8093888
[2.0] First draft for onFlush event.
2010-02-24 19:19:04 +00:00
guilhermeblanco
96a79b62b9
[2.0][DDC-362] Fixed missing namespace declaration on __call method of EntityRepository. Thanks Marcel Walter for the patch.
2010-02-24 02:25:09 +00:00
romanb
82e42123de
[2.0][DDC-345] Fixed.
2010-02-23 14:58:12 +00:00
beberlei
81d02278ad
[2.0] DDC-338 - Changed DQL Parser to comply with ordered collections when they are fetch joined (OMG, thanks to roman and guilherme for the detailed discussion on how to implement this)
2010-02-21 00:06:34 +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
romanb
da582e1125
[2.0] Fixed hardcoded version field access in optimistic locking.
2010-02-14 10:48:25 +00:00
beberlei
5a96217d4d
[2.0] DDC-328 - Query and Result Cache Keys now depend on the hydrationMode also
2010-02-13 21:42:09 +00:00
beberlei
8b2ca0d484
[2.0] DDC-325 - Fix Order of LOCATE to be LOCATE(needle, haystack [, offset])
2010-02-11 23:02:21 +00:00
beberlei
6bfbab9f7d
[2.0] DDC-325 - Fixed LOCATE() support for all platforms.
2010-02-11 22:38:23 +00:00
beberlei
371f3d5ecc
[2.0] DDC-321, DDC-323, DDC-324 - Implemented way to define UDFs from PHP in Sqlite Driver and registered to required default callbacks for SQRT and MOD, allowing functional tests for DQL MOD and SQRT to pass for all platforms.
2010-02-11 21:38:58 +00:00
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
d197c814f3
[2.0] DDC-318 - Committed 3 commented tests for Operators that fail however
2010-02-11 19:14:45 +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
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
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
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
595993b7aa
[2.0] DDC-301 - Fix side-effect to test which caused test-failure because of previous commit.
2010-02-04 19:25:37 +00:00
beberlei
b59bcc9222
[2.0] DDC-301 - Fix side-effect to test which caused test-failure because of previous commit.
2010-02-04 18:25:28 +00:00
beberlei
8d607b1b78
[2.0] DDC-289 / DDC-264 - Added a Model and TestCase for OneToMany Unidirectional Assocations using a JoinTable and tested its defining feature (uniqueness).
2010-01-31 14:35:10 +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
14ec40e1e6
[2.0][DDC-281] Fixed several issues with mapping drivers and loading of mapping files.
2010-01-28 12:46:12 +00:00