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
248022249f
[2.0] DDC-375 - Fix a little bug in walkSimpleSelectExpression
2010-02-25 20:31:53 +00:00
beberlei
66783529dc
[2.0] DDC-375 - Fix a test-failure related to the latest commit
2010-02-25 20:28:47 +00:00
beberlei
f14dd56907
[2.0] DDC-375 - Fix two issues related to DQL Subselects
2010-02-25 20:25:28 +00:00
beberlei
43ecaf54a2
[2.0] DDC-374 - Implement and tested DriverChain Mapping Adapter
2010-02-25 19:58:39 +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
beberlei
cbd8133308
[2.0] DDC-367 - Fixed Bug with <discriminator-map /> XML Driver Parsing
2010-02-24 19:31:53 +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
romanb
96eaf67e0f
[2.0][DDC-350] Fixed. Patch provided by Christian Heinrich.
2010-02-21 23:26:42 +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
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
e83f1517ad
[2.0] DDC-330 - Fix SIZE(collectionValueExpression) using a COUNT(field) to COUNT(*) because in many to many scenarios and with several join columns a COUNT(fieldA, fieldB) would have been generated, which is not valid sql.
2010-02-14 18:44:33 +00:00
romanb
da582e1125
[2.0] Fixed hardcoded version field access in optimistic locking.
2010-02-14 10:48:25 +00:00
beberlei
6356886cec
[2.0] DOCS - Example on using multiple entities in FROM clause, added test for this sql generation also, since it seems this was untested before.
2010-02-14 10:08:58 +00:00
beberlei
077d9fb0e6
[2.0] DDC-135 DDC-177 Implement missing WITH clause, disallow use of ON clause by throwing an exception
2010-02-14 09:53:38 +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
guilhermeblanco
30f9403790
[2.0][DDC-308] Implemented SIZE() function support to many2many relations
2010-02-10 02:31:55 +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
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
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
beberlei
1e135d951e
DDC-282 - Additional assertions to show that use of (bool) for cascade in xml driver is working correctly
2010-01-30 20:24:38 +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
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
beberlei
8336bcc71c
[2.0] DDC-279 - Commit testcase that shows it works.
2010-01-27 20:56:56 +00:00
beberlei
21de3d3ff2
[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:46:10 +00:00
romanb
4bec3e2c49
[2.0][DDC-263] Fixed. Patch provided by Christian Heinrich.
2010-01-22 15:10:13 +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
0a9876b2e8
[2.0][DDC-248] Fixed and some more unrelated tests.
2010-01-15 13:33:42 +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
romanb
38bf6c665a
[2.0][DDC-237][DDC-216] Fixed. If you're using manual proxy generation through the CLI, please regenerate your proxies.
2010-01-05 11:45:38 +00:00
guilhermeblanco
0a7727e16a
[2.0][DDC-234] Make sure is defined in QueryBuilder Expressions.
2010-01-04 16:37:39 +00:00
guilhermeblanco
2195894ad3
[2.0] Added support to complex PathExpression in DQL queries
2009-12-31 22:50:44 +00:00
guilhermeblanco
3928ba9dac
[2.0] Added support to complex PathExpression in DQL queries
2009-12-31 22:48:51 +00:00
guilhermeblanco
20c8416607
[2.0] More coverage to AbstractSchemaName.
2009-12-27 19:02:07 +00:00
guilhermeblanco
b4b64b1ee9
[2.0][DDC-229] Added coverage to reported issue.
2009-12-27 18:46:53 +00:00
guilhermeblanco
262855a66c
[2.0] Refactorings in DQL parser to allow more granular enhancements scheduled for later versions. Fixed issues with missing validations of invalid ResultVariable, Unknown query components and Re-declaration of query compoenents.
2009-12-27 03:26:15 +00:00
romanb
27e8023b9b
[2.0][DDC-152] Fixed.
2009-12-19 13:38:54 +00:00
romanb
c727483ad8
[2.0][DDC-208] Fixed.
2009-12-18 13:20:22 +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
a4d41d09ef
[2.0][DDC-206] Fixed wrong enumeration value. Changed XSD location to point to the document on the website.
2009-12-16 13:47:59 +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
romanb
371761108d
[2.0][DDC-211] Fixed wrong number in test case.
2009-12-15 18:43:53 +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
30329f49a4
[2.0] DDC-69 - Issue was resolved previously as shown by test-case not failing anymore.
2009-12-11 00:31:28 +00:00
beberlei
7542482ea7
[2.0] DDC-113 - Added test-case that shows it works.
2009-12-11 00:20:37 +00:00
romanb
59a17eb51c
[2.0][DDC-171] Fixed (second attempt). Some other cleanups. Performance fix for mock Statement used in hydration performance tests for more accurate and better results.
2009-12-10 21:27:20 +00:00
romanb
b276574ece
[2.0][DDC-171] Added coverage.
2009-12-09 17:00:18 +00:00
romanb
909e98c6f2
[2.0][DDC-202][DDC-132][DDC-185] Fixed.
2009-12-09 12:37:57 +00:00
beberlei
a26464da4c
[2.0] DDC-169 - Fix Bug in SchemaTool Unique Handling
2009-12-08 21:52:26 +00:00
beberlei
3e823f065a
[2.0] DDC-176 - Disallow iterate() over fetch-join collections by the means of an exception on parsing the DQL query.
2009-12-08 20:53:01 +00:00
beberlei
845c85552e
[2.0] DDC-194 - Fixed infinite recursion issue with references and @PostLoad annotation by telling proxy to be loaded before calling EntityPersister->load...
2009-12-07 22:10:40 +00:00
beberlei
59c6449076
[2.0] DDC-168 - Add test-case that proves that the order of reflFields matters for inserting, which causes problems with caching.
2009-12-07 21:20:04 +00:00
romanb
304e2286e2
[2.0][DDC-199] Fixed.
2009-12-07 20:35:44 +00:00
romanb
ddb5a66fd8
[2.0][DDC-191][DDC-192] Attempt to fix both.
2009-12-07 16:21:29 +00:00
beberlei
329d095261
[2.0] DDC-197 - Extended CLOB Test-Case even more with additional update of the string, which still works on OCI8
2009-12-06 23:49:30 +00:00
beberlei
5af891d157
[2.0] DDC-197 - Add failing test on oracle as a challenge to fix OCI CLOB handling.
2009-12-06 23:40:38 +00:00
beberlei
58e99d39d2
[2.0] DDC-169 - Replaced SchemaTool::getUpdateSql() with the Schema Comparator Code.
2009-12-06 12:23:13 +00:00
beberlei
e9f2f6736a
[2.0] DDC-169 - Fixed DatabaseDriver
2009-12-05 09:39:30 +00:00
beberlei
a0d26a8409
[2.0] DDC-169 - Fixed DatabaseDriver
2009-12-05 09:39:11 +00:00
beberlei
0788cdf15e
[2.0] DDC-169 - Stripped case handling since its just a load of complex crap and doesn't solve any problem! Idea: just implement case-insensitivity in the comparator.
2009-12-04 22:41:09 +00:00
beberlei
70075d8f80
[2.0] DDC-169 - Added possibility to control which case mode schema assets are created with in SchemaManager
2009-12-04 21:58:16 +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
15f84f6eb0
[2.0][DDC-187] Fixed. Also fixed some DBAL failures on postgres.
2009-12-03 13:17:56 +00:00
romanb
22375235db
[2.0][DDC-162][DDC-94] Fixed.
2009-12-02 20:49:10 +00:00
beberlei
8562c80890
[2.0] DDC-169 - Changed AbstractPlatform and AbstractSchemaManager and children to accept Table, Index and ForeignKey instances for the respective create*() methods.
2009-12-02 18:52:21 +00:00
beberlei
4d5a6ac7bc
[2.0] DC-169 - Skip all UpdateSchemaTests
2009-11-30 23:14:48 +00:00
beberlei
af48974a75
[2.0] DDC-169 - Converted introspection queries of all platforms to return Column, Sequence, Index, ForeignKey Schema Instances instead of arrays, heavily pimped Oracle support thereby.
2009-11-30 19:02:05 +00:00
beberlei
2c27435bb2
[2.0] - DDC-169 - Completed refactoring of SchemaTool::getCreateSql() to use new DBAL Schema API, several internal optimizations in SchemaTool are now possible. Stripped out shared functionality with getUpdateSql() so that this part of SchemaTool is still completly working with the old API.
2009-11-28 10:48:51 +00:00
romanb
fdd9b05158
[2.0] Fix for optimistic locking.
2009-11-25 21:48:04 +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
beberlei
a9d739a743
[2.0] Refactor Exceptions from Query and AST\InputParameter into QueryException class.
2009-11-21 17:04:17 +00:00
beberlei
f9ab947372
DDC-126 - Make Query, NativeQuery Fluent-Interfaces for all their set Methods, renamed setExpireQueryCache() and setExpireResultCache() to expireQueryCache() and expireResultCache(). Updated UPGRADE_TO_2_0 document accordingly.
2009-11-21 13:13:19 +00:00
beberlei
5930a7c42d
DDC-127 - Enhance IterableResult by making it implement the Iterator interface, wrote a unit-test for this scenario, also added some additional tests for special cases in the query api that lead to exceptions.
2009-11-20 15:10:45 +00:00
romanb
61f09e335e
[2.0][DDC-158] Fixed. Collections did not take snapshots after lazy initialization leading to wrong change sets.
2009-11-19 13:12:00 +00:00
romanb
ea4f5c172a
[2.0][DDC-149] Fixed.
2009-11-16 17:03:33 +00:00
romanb
124cbe9086
[2.0][DDC-137] Fixed.
2009-11-15 11:42:05 +00:00
romanb
c3ef019549
[2.0][DDC-145] Fixed.
2009-11-13 19:34:10 +00:00
romanb
94d771172e
[2.0][DDC-74] Fixed.
2009-11-13 16:39:28 +00:00
romanb
3a282b1e9c
[2.0][DDC-141] Fixed.
2009-11-13 10:11:14 +00:00
jwage
fa99b94420
[2.0] Increasing time allowed for hydration performance test
2009-11-11 21:44:04 +00:00
jwage
fdd1954a7b
[2.0][DDC-72] Fixes issue with converting D1 column aliases to D2 field names
2009-11-11 21:15:27 +00:00
jwage
2a663bee05
[2.0][DDC-64] Fixing issue with converting D1 schema clob to D2
2009-11-11 20:44:14 +00:00
romanb
ab0c7b11c8
[2.0][DDC-136] Some fixes to internal UnitOfWork logic.
2009-11-11 16:20:29 +00:00
romanb
8e3f6eee0a
[2.0][DDC-121] Fixed. Also fixed memcache tests and some small refactorings.
2009-11-08 11:07:49 +00:00
romanb
3a59aefd5c
[2.0] Fixed typo in test.
2009-11-07 11:41:16 +00:00
beberlei
93b20427c9
[2.0] Fix Tab Formating in ParserResult class, added doc-comments and fixed a missing variable initialization error for certain query special cases.
2009-11-06 17:03:59 +00:00
romanb
10bc51fdcd
[2.0][DDC-116] Fixed.
2009-11-06 10:28:37 +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
guilhermeblanco
4a861f08a8
[2.0] More refactorings in Annotations parser and DQL parser. Now they only use constants instead of string processment
2009-11-04 01:52:40 +00:00
guilhermeblanco
e05ec39ff3
[2.0] Moved string tokens to be constants. No more string comparisons inside parser
2009-11-03 21:42:58 +00:00
romanb
7bbdac1c88
[2.0][DDC-61][DDC-108] Fixed. Started exception refactoring.
2009-11-03 18:30:21 +00:00
beberlei
a307b86ecb
[2.0] DDC-84 - Added increment alter table / update schema tests for Oracle Platform - Fixed a simple bug in Postgres Tests.
2009-11-02 16:50:48 +00:00
beberlei
d369d27f8b
[2.0] DDC-84 - Added increment alter table / update schema tests for Postgres Platform - Fixed several bugs in Doctrine\DBAL\Platforms\PostgreSqlPlatform
2009-11-02 16:07:31 +00:00
beberlei
140f597e3b
[2.0] Fixed DDC-101, DDC-102 - Ensure defaults for string length and field nullability are handled consistently in both update and create schema commands of SchemaTool.
2009-11-02 12:53:05 +00:00
romanb
94569baa0b
[2.0][DDC-88] Corrected accidental swap of precision/scale.
2009-11-01 11:09:27 +00:00
romanb
44045a6b83
[2.0][DDC-88] Quoted field name in decimal model as a little test for identifier quoting.
2009-11-01 11:04:03 +00:00
beberlei
4d3c4a704a
[2.0] DDC-84 - Add Mysql Platform unittests for incremental changes of the metadata for the schematool update function. Fixed some quirks in the Unit-Test suite alongside, Fixed changes of length in SchemaTool update.
2009-10-31 22:23:36 +00:00
beberlei
932855317f
[2.0] DDC-62 - Fixed bug with proxy class generation of non-namespaced entities
2009-10-31 08:59:27 +00:00
romanb
10e3407ed1
[2.0][DDC-70] Added some EntityManager tests provided by beberlei.
2009-10-28 22:12:45 +00:00
romanb
f572c372dc
[2.0] Fixed DDC-18. Simplified proxy classes. Just 1 proxy class per entity now, instead of 2.
2009-10-28 15:32:55 +00:00
romanb
aa72619c5d
[2.0][DDC-55] Fixed.
2009-10-28 11:29:29 +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
romanb
8b1e0d413c
[2.0][DDC-57] Added coverage for many-to-many issue provided by Arthur Purnama.
2009-10-26 13:18:44 +00:00
romanb
08694d1826
[2.0] Some optimizations and small fixes.
2009-10-25 21:40:57 +00:00
jwage
ccf27a386c
[2.0] Minor fixes to cache drivers and result set cache implementation
2009-10-24 00:28:43 +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
jwage
da38026bc2
[2.0][DDC-47] Added ability to set the result cache id used to store the cache entry
2009-10-22 22:39:37 +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
c54d582568
[2.0] Added test coverage for native query with joined one-to-one association.
2009-10-22 09:10:59 +00:00
romanb
9bb17475ed
[2.0] Fixed hydration issue with bidirectional one-to-many associations. Added more test coverage for some advanced association queries and lazy-loading.
2009-10-16 10:35:46 +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
b9f744893e
[2.0][DDC-42] Fixed.
2009-10-13 10:48:46 +00:00
jwage
f3f522b7f3
[2.0][DDC-43] Fixing order of limit and offset
2009-10-12 19:10:41 +00:00
romanb
bb6e54fba1
[2.0][DDC-21] Fixed.
2009-10-09 14:27:35 +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
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