Miha Vrhovnik
|
bb873826ca
|
Fixing Notice: Undefined index: orderBy in ...Doctrine/ORM/Tools/Export/Driver/YamlExporter
|
2011-05-27 08:43:29 +02:00 |
|
Guilherme Blanco
|
93521217a6
|
Moved getQuoted* from ClassMetadata to ClassMetadataInfo, since SchemaTool relies on them, making impossible to work with DisconnectedClassMetadataFactory.
|
2011-05-26 02:18:29 -03:00 |
|
Christophe Coevoet
|
693fc090b5
|
Updated the EntityGenerator to be compatible with Common 3.0.x
|
2011-05-25 12:35:54 +02:00 |
|
Benjamin Eberlei
|
3adbf0de39
|
Add forward compatibility with Doctrine Common 3.0
|
2011-05-25 00:35:57 +02:00 |
|
Johannes Schmitt
|
a0d79b03e7
|
[AnnotationDriver] compatibility with Doctrine Common 3.x
|
2011-05-25 00:32:55 +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 |
|
Alexander
|
cec62db2d8
|
Removed _ prefix from private functions.
|
2011-05-20 16:53:35 +02:00 |
|
Alexander
|
262ae7c942
|
Implemented tableName -> className and columnName -> fieldName mapping in
DatabaseDriver.
|
2011-05-20 16:36:43 +02:00 |
|
Benjamin Eberlei
|
85fb1a3ebb
|
Merge branch 'master' of github.com:doctrine/doctrine2
|
2011-05-18 19:37:32 +02:00 |
|
Benjamin Eberlei
|
a979852ee6
|
Merge branch 'DDC-1080'
|
2011-05-17 23:42:39 +02:00 |
|
Benjamin Eberlei
|
9ea03de84f
|
DDC-1080 - Fix bug with hydration of derived entities/foreign key as primary key.
|
2011-05-17 23:42:24 +02:00 |
|
Benjamin Eberlei
|
9f01e9563f
|
Bump Dev Version to 2.1.0BETA2-DEV
|
2011-05-16 19:35:00 +00:00 |
|
Benjamin Eberlei
|
f4021e7469
|
Update Doctrine Common to latest version and add new methods to ClassMetadataInfo
|
2011-05-16 20:42:38 +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
|
5e938b3147
|
Revert "Implemented auto-inference of isCascadeRemove when orphanRemoval is defined (marked as todo)."
This reverts commit 551247d11a .
|
2011-05-15 20:39:55 +02:00 |
|
Benjamin Eberlei
|
d45f7c1302
|
DDC-694 - Add info command
|
2011-05-15 20:18:31 +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
|
551247d11a
|
Implemented auto-inference of isCascadeRemove when orphanRemoval is defined (marked as todo).
|
2011-05-14 00:43:33 -03:00 |
|
Guilherme Blanco
|
08f2af489e
|
Changed QueryBuilder to allow retrieval of all defined root alises.
|
2011-05-14 00:40:23 -03:00 |
|
Guilherme Blanco
|
e538128645
|
[DDC-1029] renaming "load()" in proxy to "__load()"
|
2011-05-13 00:23:27 -03:00 |
|
Guilherme Blanco
|
8e3fdc5adc
|
[DDC-1148] Implement auto-inference of types in setParameter.
|
2011-05-12 23:05:45 -03:00 |
|
Benjamin Eberlei
|
814473c27d
|
Merge pull request #35 from brikou/master
[DDC-1136] prevent backup file to be recognized as valid Entity file
|
2011-05-12 05:41:31 -07: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 |
|
Bertrand Zuchuat
|
b959ab37bf
|
Typo
|
2011-05-08 13:57:08 +02: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 |
|
Guilherme Blanco
|
bffca232e2
|
Merge branch 'master' of github.com:doctrine/doctrine2
|
2011-05-06 01:42:01 -03:00 |
|
Guilherme Blanco
|
19dfe7b891
|
Added method to allow retrieve all registered entity namespace aliases.
|
2011-05-06 01:41:34 -03:00 |
|
Benjamin Eberlei
|
5d1905de13
|
DDC-1120 - Fix comment
|
2011-05-01 12:17:09 +02: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 |
|
Benjamin Eberlei
|
6b3dfaccfc
|
DDC-1102 - Typo in EntityGenerator
|
2011-05-01 10:01:38 +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
|
1f665e6ba8
|
[DBAL-115] Bugfix in SchemaTool not quoting table names when dropping schema.
|
2011-04-30 16:20:14 +02:00 |
|
Benjamin Eberlei
|
261d3c892e
|
DDC-1133 - Ducktype AnnotationReader in AnnotationDriver
|
2011-04-30 14:23:46 +02:00 |
|
Benjamin Eberlei
|
7dd0dd273e
|
[DDC-1109] ltrim discriminator map for convenience.
|
2011-04-30 12:49:37 +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
|
42230a4c51
|
[DDC-1132] Fix many to many table detection.
|
2011-04-30 11:16:30 +02:00 |
|
Guilherme Blanco
|
7aaecacc5b
|
Merged pull request #36 from ajessu/fixTypo.
Fix typos on the help text of the schema commands
|
2011-04-26 18:12:32 -07:00 |
|
Guilherme Blanco
|
237a05b302
|
Merged pull request #44 from Chekote/parser_match_phpdoc_fix.
Parser::match phpdoc fix
|
2011-04-26 18:09:27 -07:00 |
|
Guilherme Blanco
|
f73c7f3be0
|
Merged pull request #48 from rdohms/master.
Fixing docblocks in SchemaTool
|
2011-04-26 18:05:59 -07:00 |
|
Guilherme Blanco
|
fe66d8bc04
|
Fixed SchemaTool which was failing to dropSchema due to foreignKeyContraint checks. Fixes DDC-1126
|
2011-04-26 12:32:04 -03:00 |
|
Guilherme Blanco
|
26bd3e3811
|
Implemented support for closure return on EntityManager::transactional. Fixes DDC-1125
|
2011-04-25 18:32:43 -03:00 |
|
Rafael Dohms
|
0b7feb359d
|
Fixing outdated docblocks for SchemaTool
|
2011-04-17 23:39:59 -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
|
7905f2a972
|
[DDC-1040] Bugfix with named parameters and multiple entities passed as parameter.
|
2011-04-03 23:03:39 +02:00 |
|
Benjamin Eberlei
|
e685d59604
|
[DDC-1093] Fix docblock type hint
|
2011-04-03 20:29:07 +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 |
|
Chekote
|
5784c7bacd
|
Fixed phpdoc on Parser::match incorrectly stating that the token parameter can be a string value
|
2011-04-01 12:54:12 -05: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
|
b1b17376ff
|
Removing left over class import
|
2011-03-31 17:22:13 -04: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
|
706cc838e5
|
Removed svn variable
|
2011-03-22 08:54:33 -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
|
e42a227a7c
|
[DDC-1052] Fix bug with versioning and inheritance
|
2011-03-20 13:07:47 +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
|
62755cc647
|
[DDC-1070] Fix in AbstractQuery::iterate() method not respecting hydrator and parameters.
|
2011-03-20 12:19:01 +01:00 |
|
Benjamin Eberlei
|
53ca54ced6
|
Merge branch 'master' of github.com:doctrine/doctrine2
|
2011-03-16 23:01:17 +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
|
4b98e3ea8e
|
DDC-952 - Remove unnecessary instance variable and comment on one feature.
|
2011-03-16 00:03:43 +01:00 |
|
Benjamin Eberlei
|
b7e522d7a7
|
DDC-952 - This nasty inheritance hydration bug slipped in again, fixed again now.
|
2011-03-15 23:39:19 +01:00 |
|
Benjamin Eberlei
|
1b46208aa5
|
[DDC-952] More fixes
|
2011-03-15 21:34:47 +01:00 |
|
Benjamin Eberlei
|
b3c01903b4
|
DDC-952 - Optimization
|
2011-03-15 20:03:05 +01:00 |
|
Benjamin Eberlei
|
a04ba44874
|
[DDC-952] Introduced SimpleObjectHydrator again for performance reasons.
|
2011-03-15 19:48:04 +01:00 |
|
brikou
|
9a8e8ce35d
|
Edited lib/Doctrine/ORM/Tools/EntityGenerator.php via GitHub
|
2011-03-15 05:39:38 -07:00 |
|
Albert Jessurum
|
234d2e5f0f
|
Fix typo on schema help messages
|
2011-03-15 12:22:53 +01:00 |
|
Guilherme Blanco
|
180078d0f6
|
Added namedQueries as optional during serialization of ClassMetadata.
|
2011-03-14 01:04:50 -03:00 |
|
Benjamin Eberlei
|
38ad25ad4c
|
[DDC-952] Remove all the unnecessary hydration code from all Persisters.
|
2011-03-13 00:23:46 +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
|
8794d35867
|
DDC-952 - Woah this still needs tons of tests.
|
2011-03-09 23:30:35 +01:00 |
|
Benjamin Eberlei
|
595c19207c
|
[DDC-914] Always fetch joining inverse side one-to-one associations breaks a ton of DDC-117 tests, investigate why to make this working also.
|
2011-03-09 23:21:33 +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 |
|
Benjamin Eberlei
|
fd502631c7
|
DDC-734 - REname query hint to fetchEager.
|
2011-03-08 22:28:55 +01:00 |
|
Benjamin Eberlei
|
60eb755fe9
|
DDC-952, DDC-734 Add DQL query hint to switch associations from lazy to eager for deferred initialization optimizations.
|
2011-03-08 22:22:54 +01:00 |
|
Guilherme Blanco
|
a31289b9d7
|
Added support to NamedQueries through ClassMetadata.
|
2011-03-06 18:45:09 -03:00 |
|
Benjamin Eberlei
|
112f9d1480
|
[DDC-1050] Change refresh of collection back
|
2011-03-06 21:49:02 +01:00 |
|
Benjamin Eberlei
|
851f44a066
|
[DDC-952] [DDC-1050] Use ObjectHydrator inside Persisters, removing a bunch of duplicate code (step1, more necessary)
|
2011-03-06 21:26:54 +01:00 |
|
Benjamin Eberlei
|
d9c8a9eecb
|
[DDC-952] Fix merge/rebase mistake.
|
2011-03-06 15:28:26 +01:00 |
|
Benjamin Eberlei
|
03630df20d
|
Add support for IN(?) queries in repositories using the DBAL support for parameter lists.
|
2011-03-06 11:15:56 +01:00 |
|
Benjamin Eberlei
|
3d37e436dd
|
DDC-952 - Refactor eager loading entities, it is only allowed for non composite primary key entities.
|
2011-03-05 11:09:38 +01:00 |
|