Benjamin Eberlei
|
5733574867
|
Merge branch 'master' of github.com:doctrine/doctrine2
|
2011-07-12 22:47:33 +02:00 |
|
Benjamin Eberlei
|
c261315ea7
|
DDC-1250 - Fix bug with inverse one to one loading and ambigious column names in certain scenarios
|
2011-07-09 22:11:49 +02:00 |
|
Benjamin Eberlei
|
2b207106a3
|
DDC-1022 - Call __wakeup() with the same semantics then ClassMetadata::newInstance() does inside UnitOfWork
|
2011-07-09 12:12:44 +02:00 |
|
Benjamin Eberlei
|
ef663c83f3
|
DDC-1258 - Add Debug UnitOfWork Listener
|
2011-07-08 14:27:59 +02:00 |
|
Benjamin Eberlei
|
2858b8290f
|
DDC-1238 - Fixed a bug introduced when refactoring persisters hydration. This occurs when you call $em->clear() and you start accessing a proxy.
|
2011-07-04 23:19:08 +02:00 |
|
Benjamin Eberlei
|
a638154046
|
Update tests
|
2011-07-04 20:59:46 +02:00 |
|
Benjamin Eberlei
|
a947e8a4b0
|
DDC-1238 - Reproducible case, its correct through
|
2011-07-04 20:59:46 +02:00 |
|
Benjamin Eberlei
|
8e7c156451
|
Started trying to reproduce this issue
|
2011-07-04 20:59:46 +02:00 |
|
Guilherme Blanco
|
550fcbc17f
|
[DDC-1237] Fixed issue with QueryBuilder where user may have includes nested complex expression in a string format while consuming a composite expression (AND or OR).
|
2011-07-03 01:48:18 -03:00 |
|
Benjamin Eberlei
|
a0a81db045
|
DDC-1204, DDC-1203 - No need to throw this exception for abstract classes anymore
|
2011-06-30 20:57:29 +02:00 |
|
Peter Kruithof
|
9395eeed3d
|
Changed order of elements
|
2011-06-29 03:15:05 -07:00 |
|
Michael Ridgway
|
c19d7fe2eb
|
Missed one
|
2011-06-28 15:55:43 -04:00 |
|
Michael Ridgway
|
9ae30421dd
|
Removed onUpdate property on join columns
|
2011-06-28 15:50:14 -04:00 |
|
Benjamin Eberlei
|
551f6d05d9
|
DDC-1230 - Fix bug where UnitOfWork does not set STATE_REMOVE when calling EntityManager#remove() on an entity
|
2011-06-28 21:37:53 +02:00 |
|
Benjamin Eberlei
|
52431251cb
|
Fix some of the problems with Oracle testsuite
|
2011-06-26 17:20:03 +02:00 |
|
Benjamin Eberlei
|
7efe071ac4
|
DDC-1224 - Bugfix with temporary table ids and tables in schema (in postgresql)
|
2011-06-26 10:10:57 +02:00 |
|
Benjamin Eberlei
|
a73a1e8437
|
DDC-1226, DDC-1228 - Bugfix with refereshing proxy references not setting the originalEntityData.
|
2011-06-25 14:38:44 +02:00 |
|
Benjamin Eberlei
|
07f568e2b4
|
Add test for DDC-1227 regression
|
2011-06-25 10:27:06 +02:00 |
|
Benjamin Eberlei
|
7367e255ae
|
Merge branch 'master' of github.com:doctrine/doctrine2
|
2011-06-25 10:24:06 +02:00 |
|
Benjamin Eberlei
|
10b70df1af
|
DDC-1218, DDC-1156 - Fixed bugs with mapped superclasses in inheritance hierachies
|
2011-06-25 10:20:37 +02:00 |
|
Benjamin Eberlei
|
fe8b28a09f
|
Add test for DDC-1156, DDC-1218
|
2011-06-25 09:57:15 +02:00 |
|
Guilherme Blanco
|
db80b2b135
|
Fixed phpunit tests which was failing due to a duplicate use declaration.
|
2011-06-21 12:38:08 -03:00 |
|
Benjamin Eberlei
|
c7c430032c
|
DDC-1211 - Fix bug with empty numeric literal
|
2011-06-19 10:17:35 +02:00 |
|
Benjamin Eberlei
|
82f0c244e8
|
DDC-1189 - Bugfix with PersistentCollection#clear() in combination with lazy loading
|
2011-06-19 09:39:34 +02:00 |
|
Benjamin Eberlei
|
fa7574b2ba
|
Removed AllTests files and Suites
|
2011-06-18 22:49:25 +02:00 |
|
Benjamin Eberlei
|
32b146ea8a
|
Switch testsuite to run with phpunit.ini.dist from main folder, not using AllTests approach. Fixed global state problem in tests that was caused by EventManager being reused. Significantly enhanced error message about cascade persist
|
2011-06-18 22:47:21 +02:00 |
|
Benjamin Eberlei
|
989d375be5
|
Some more tests for the Setup helper
|
2011-06-18 08:47:10 +02:00 |
|
Benjamin Eberlei
|
ede68ec87b
|
Merge branch 'master' of github.com:doctrine/doctrine2
|
2011-06-18 01:05:48 +02:00 |
|
Benjamin Eberlei
|
02f06b6d52
|
Add convenience Setup Tool to register autoloaders and create configuration objects
|
2011-06-18 01:05:30 +02:00 |
|
Guilherme Blanco
|
699ccfddb6
|
Implemented COALESCE and NULLIF support in DQL.
|
2011-06-17 16:16:22 -03:00 |
|
Benjamin Eberlei
|
0cd0ae49a1
|
Fix regression introduced with DDC-1203,DDC-1204 patch
|
2011-06-16 23:00:59 +02:00 |
|
Benjamin Eberlei
|
713f4654fd
|
Merge remote-tracking branch 'origin/master'
|
2011-06-16 22:49:29 +02:00 |
|
Benjamin Eberlei
|
42c5382a03
|
DDC-1172 - Handle sequence dropping in SchemaTool.
|
2011-06-16 22:34:04 +02:00 |
|
Guilherme Blanco
|
98bc3c4e40
|
Merge pull request #74 from mridgway/DDC-1209
[DDC-1209] Fixed custom object types as @Id
|
2011-06-16 07:15:40 -07:00 |
|
Michael Ridgway
|
d1106a730b
|
Made DDC-1209 test pass
|
2011-06-16 08:55:09 -04:00 |
|
Michael Ridgway
|
da2d83fc7d
|
DDC-1209 tests
|
2011-06-15 17:15:46 -04:00 |
|
Benjamin Eberlei
|
5ff44b5ec7
|
DDC-1203, DDC-1204 - Fix problems with mapped superclasses in midth of inheritance hierachy and entities not mapped in discriminator map.
|
2011-06-15 22:27:24 +02:00 |
|
Guilherme Blanco
|
fdbc909bde
|
Merge branch 'master' of github.com:doctrine/doctrine2
|
2011-06-09 15:43:37 -03:00 |
|
Guilherme Blanco
|
1f6b49d236
|
Added getRootEntities to QueryBuilder.
|
2011-06-09 15:42:40 -03:00 |
|
Benjamin Eberlei
|
4371e8fab0
|
DDC-1163 - Fix nasty bug with inheritance in UnitOfWork::executeUpdates() and executeRemovals()
|
2011-06-05 16:21:23 +02:00 |
|
Benjamin Eberlei
|
22826ac10d
|
DDC-1156 - Do not throw exception for mapped superclass in middle of inheritance hierachy anymore.
|
2011-06-05 15:00:49 +02:00 |
|
Benjamin Eberlei
|
d3ab9b51fa
|
DDC-1181 - Add test that verifies cascade remove works for entities with foreign identifiers
|
2011-06-05 13:57:44 +02:00 |
|
Benjamin Eberlei
|
1038a866a4
|
DDC-1194 - Improve error handling for DQL INSTANCE OF
|
2011-06-05 10:48:21 +02:00 |
|
Benjamin Eberlei
|
acaf08d4b7
|
DDC-1193 - Fix bug with cascade remove and proxy classes.
|
2011-06-05 09:59:16 +02:00 |
|
Benjamin Eberlei
|
875912bffd
|
DDC-733 - Add UnitOfWork::initializeObject() method.
|
2011-06-05 08:44:38 +02:00 |
|
Benjamin Eberlei
|
6d724ad9ff
|
Make ORM forward compatible with new Doctrine Annotations library version 2.1
|
2011-05-25 00:26:20 +02:00 |
|
Benjamin Eberlei
|
a979852ee6
|
Merge branch 'DDC-1080'
|
2011-05-17 23:42:39 +02:00 |
|
Benjamin Eberlei
|
5d81e867be
|
Add some logic to keep backwards compatibility in QueryBuilder
|
2011-05-15 23:16:44 +02:00 |
|
Benjamin Eberlei
|
85d40847ac
|
Reintroduce QueryBuilder::getRootAlias() for backwards compatibility reasons, mark as @deprecated
|
2011-05-15 22:11:10 +02:00 |
|
Benjamin Eberlei
|
1b4f0a5e1f
|
DDC-1080 - Add failing testcase
|
2011-05-14 13:32:12 +02:00 |
|
Benjamin Eberlei
|
cb3615ab47
|
DDC-1151 - Fix missing table quotes when adding foreign keys in SchemaTool
|
2011-05-14 08:44:19 +02:00 |
|
Guilherme Blanco
|
2a7364bb18
|
We now support @Id on @ManyToOne fields. Removed TODO and associated code.
|
2011-05-14 00:53:22 -03:00 |
|
Guilherme Blanco
|
f4d62b317e
|
Fixed endless recursion of DDC-719 test.
|
2011-05-14 00:49:46 -03:00 |
|
Guilherme Blanco
|
1e9e2de737
|
[DDC-1122] Added coverage for bug report.
|
2011-05-13 00:12:05 -03:00 |
|
Guilherme Blanco
|
8e3fdc5adc
|
[DDC-1148] Implement auto-inference of types in setParameter.
|
2011-05-12 23:05:45 -03:00 |
|
Guilherme Blanco
|
905e05cd36
|
[DDC-1067][DDC-1145] Fixed bug with multiple froms and inclusion of joins. Added support for index by in QueryBuilder. This break BC only if users are using base support (->add).
|
2011-05-11 21:40:27 -03:00 |
|
Guilherme Blanco
|
54a0109d5d
|
[DDC-1147] Allowed usage of 0-based input parameters in DQL.
|
2011-05-11 17:30:42 -03:00 |
|
Guilherme Blanco
|
b025b2b343
|
Fixed where componentes (ie. MEMBER OF) that that are sensitive to parenthesis presence. Made OR and AND expressions smarter. Fixed related unit tests.
|
2011-05-07 20:14:04 -03:00 |
|
Benjamin Eberlei
|
d4569baa11
|
[DDC-1129] Fix bug in version changeset computation aswell as inline ClassMetadata::isCollectionValuedAssociation to increase performance by 2-5%
|
2011-05-01 11:44:31 +02:00 |
|
Benjamin Eberlei
|
c53baa9935
|
[DDC-1091] Fix bug with custom string functions in StringPrimary
|
2011-05-01 11:01:30 +02:00 |
|
Benjamin Eberlei
|
7a068c206e
|
DDC-1043 - Make computeChangeSet() algorithm more strict, possible leading to more updates to to values that are not exactly the same. However this is necessary to avoid bugs with certain PHP casting rules, i.e. +44 = 44
|
2011-05-01 10:21:47 +02:00 |
|
Francis Besset
|
a141aaf663
|
[PR-39] Throw exception when hydrating joined entity without existing parent alias (NativeQuery problem only)
|
2011-05-01 00:17:40 +02:00 |
|
Benjamin Eberlei
|
85d6b9fd39
|
Merge pull request #42 from mridgway/DDC-1059.
DDC-1059: RSM Helper
|
2011-04-30 15:01:25 -07:00 |
|
Fabien Potencier
|
0c955fe54f
|
Fix namespace/class parsing in the entity generator
|
2011-04-30 23:51:22 +02:00 |
|
Benjamin Eberlei
|
73c7605a5c
|
[DDC-1094] Add support for limit, offset and orderby in EntityRepository::findBy().
|
2011-04-30 23:18:24 +02:00 |
|
Benjamin Eberlei
|
5179ff921b
|
[DBAL-115] REALLY fix issues with SchemaTool::getDropSchemaSQL().
|
2011-04-30 17:16:34 +02:00 |
|
Benjamin Eberlei
|
67b89eaa4f
|
[DDC-1108] Fix bug with single char named input parameters in DQL lexer.
|
2011-04-30 12:27:16 +02:00 |
|
Benjamin Eberlei
|
ed355d2eb6
|
Merge branch 'master' of github.com:doctrine/doctrine2
|
2011-04-30 11:19:58 +02:00 |
|
Benjamin Eberlei
|
f09d299660
|
[DDC-1132] Fix many to many table detection.
|
2011-04-30 11:15:45 +02:00 |
|
Benjamin Eberlei
|
41b3a372d3
|
Add new performance test checking compute changeset performance.
|
2011-04-30 10:47:56 +02:00 |
|
Guilherme Blanco
|
26bd3e3811
|
Implemented support for closure return on EntityManager::transactional. Fixes DDC-1125
|
2011-04-25 18:32:43 -03:00 |
|
Michael Ridgway
|
af4cf0d0ba
|
Replaced prefix parameter with renamedColumns; Added exception when duplicate columns found
|
2011-04-14 20:55:03 -04:00 |
|
Benjamin Eberlei
|
822481d360
|
[DDC-1040] Add regression tests for entity as multiple named/positional parameters.
|
2011-04-03 23:06:03 +02:00 |
|
Benjamin Eberlei
|
a329007526
|
[DDC-1087] Add missing resolution to IS NULL in EntityRepository when passing a null value as a criteria.
|
2011-04-03 09:03:43 +02:00 |
|
Benjamin Eberlei
|
ea52b3cc8f
|
[DDC-991] Rename method to AbstractQuery::getOneOrNullResult().
|
2011-03-31 23:35:01 +02:00 |
|
Benjamin Eberlei
|
24a7a72f59
|
[DDC-991] add AbstractQuery::getOneResult() method that returns null instead of throwing an exception as getSingleResult() does.
|
2011-03-31 23:32:49 +02:00 |
|
Michael Ridgway
|
c46d835146
|
Moved new functions to ResultSetMappingBuilder class
|
2011-03-30 10:27:31 -04:00 |
|
Michael Ridgway
|
20dc72ef9a
|
First pass on RSM helper functions for adding entities
|
2011-03-29 20:35:01 -04:00 |
|
Benjamin Eberlei
|
34ad308599
|
[DDC-692] Add respective metadata mapping possiblities for read-only entities and a test.
|
2011-03-29 20:17:44 +02:00 |
|
Benjamin Eberlei
|
9a75277dd4
|
[DDC-692] Add ClassMetadataInfo::isReadOnly flag and ignore these entities in Change Tracking.
|
2011-03-29 20:04:14 +02:00 |
|
Benjamin Eberlei
|
36985ee704
|
Merge remote branch 'mridgway/DDC-696' into DDC-696
|
2011-03-29 19:42:38 +02:00 |
|
Benjamin Eberlei
|
bda15231da
|
[DDC-1077] Bugfix in not handling literals in Select Expressions.
|
2011-03-27 21:10:50 +02:00 |
|
Benjamin Eberlei
|
6ed0ff0a12
|
[DDC-1079] Bugfix for shortcut for ArithmeticExpressions in SimpleSelectExpression that lead to literals not being valid. Problem was that ScalarExpression() did not handle AggregateExpressions() at all, which is now fixed.
|
2011-03-27 14:04:53 +02:00 |
|
Benjamin Eberlei
|
4f1af0114f
|
[DDC-1014] Add DATE_ADD(), DATE_SUB(), DATE_DIFF() functions for DQL.
|
2011-03-27 12:18:47 +02:00 |
|
Michael Ridgway
|
17cbb34952
|
Clean up of test case
|
2011-03-21 23:30:10 -04:00 |
|
Michael Ridgway
|
1f50dee8a8
|
DDC-696: Added onClear event
|
2011-03-21 23:17:08 -04:00 |
|
Benjamin Eberlei
|
7a41a205ee
|
[DDC-992] Fix criteria usage of column names clashing with field or associations by prefixing with table names or alias.
|
2011-03-20 17:07:19 +01:00 |
|
Benjamin Eberlei
|
edfdbe10a0
|
[DDC-1053] Fix bug with usage of identification variables in GroupByItem.
|
2011-03-20 14:07:33 +01:00 |
|
Benjamin Eberlei
|
ac175d2c40
|
[DDC-1068] Fix case-sensitivity problems of first loading of Metadata.
|
2011-03-20 12:35:52 +01:00 |
|
Benjamin Eberlei
|
c77dbd859b
|
[DDC-1070] Fix global test state problem introduced with test.
|
2011-03-20 12:25:27 +01:00 |
|
Benjamin Eberlei
|
62755cc647
|
[DDC-1070] Fix in AbstractQuery::iterate() method not respecting hydrator and parameters.
|
2011-03-20 12:19:01 +01:00 |
|
Benjamin Eberlei
|
e757e3beaf
|
Merge branch 'DDC-952'
|
2011-03-16 23:00:57 +01:00 |
|
Benjamin Eberlei
|
5192306d39
|
[DDC-952] One last commit with some refactorings, additional comments and two new tests. Also added convenience method Query::setFetchMode($className, $assocName)
|
2011-03-16 22:51:32 +01:00 |
|
Benjamin Eberlei
|
6d27b4760f
|
[DDC-952] Add Persister hydration performance tests.
|
2011-03-15 23:22:37 +01:00 |
|
Benjamin Eberlei
|
1b46208aa5
|
[DDC-952] More fixes
|
2011-03-15 21:34:47 +01:00 |
|
Benjamin Eberlei
|
1bc4b62805
|
[DDC-952] Make collection loading work with hydrators also.
|
2011-03-13 00:15:50 +01:00 |
|
Benjamin Eberlei
|
7c7106b1c1
|
DDC-952 - Fix bug in inverse one-to-one eager loading sql code.
|
2011-03-12 19:11:37 +01:00 |
|
Benjamin Eberlei
|
4677883acd
|
[DDC-952] Added modelset and tests for Eager Loading, detected a bug with inverse one-to-one eager fetching that needs to be addressed.
|
2011-03-12 14:01:51 +01:00 |
|
Benjamin Eberlei
|
077ae9cee9
|
[DDC-914] Fetch join many-to-one/one-to-one associations configured as FETCH_EAGER inside the persisters.
|
2011-03-09 23:14:54 +01:00 |
|
Guilherme Blanco
|
7d1fca1ca2
|
Added support to NamedQueries through ClassMetadata.
|
2011-03-09 14:43:42 -03:00 |
|