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

34 Commits

Author SHA1 Message Date
Benjamin Morel
ba16789843 Fixed documentation for Doctrine\ORM\Query 2012-12-13 16:36:14 +00:00
Fabio B. Silva
ed89695a8c collect new object parameters 2012-09-29 16:18:57 -03:00
Benjamin Eberlei
70458b2f48 LGPL => MIT 2012-05-26 14:37:00 +02:00
Benjamin Eberlei
ab15528fde Fix CS: AS => as in foreach loops. 2012-03-24 11:16:32 +01:00
Guilherme Blanco
fdb2b9c655 Optimized scalar type mapping support. 2012-01-16 14:26:13 -05:00
Guilherme Blanco
ea14bcff4a Fixed DDC-657. Added type conversion to scalar result. 2012-01-13 20:46:59 -05:00
Benjamin Eberlei
cd6131c9b8 Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
Fabio B. Silva
8e50a31b98 trying remove whitespaces 2011-12-07 12:31:23 -02:00
Fabio B. Silva
c6a89c64f3 put return after comment 2011-12-07 12:16:27 -02:00
Fabio B. Silva
df19e68a86 Fixed DDC-1057 2011-12-07 11:23:15 -02:00
Guilherme Blanco
14f20c16bc Changed the RSM to make is behavior as mixed if you alias an entity. 2011-11-15 15:14:57 -02:00
Guilherme Blanco
81cc6d9da8 Implemented alias support for EntityResult. This addresses DDC-1096 and DDC-1424. Improved DQL Parser, SQL Walker and Hydrators in general. Performance is generally improved by a factor of 20%. There is still more to be done, like remove the isMixed in ResultSetMapping, mainly because this query - SELECT u AS user FROM User u -, it should return an array('user' => [User object]), while currently it doesn't due to this before mentioned 'bug' in RSM. Will open a separate ticket for this. Also, UnitOfWork and Hydrators share code that could be abstracted/improved. 2011-11-14 01:36:39 -02:00
Alexander
39ed719c4c Remove invalid(?) exception for now 2011-11-08 13:16:33 +01:00
Benjamin Eberlei
8466060797 DDC-1385 - Add INDEX BY scalar variables on the top-level 2011-10-16 19:23:20 +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
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
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
romanb
27e8023b9b [2.0][DDC-152] Fixed. 2009-12-19 13:38:54 +00:00
romanb
ebb432bfb8 [2.0] Preparing to address character casing issue. 2009-08-15 18:11:51 +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
romanb
00599a80d4 [2.0] Streamlined result structures. Hydration improvements: Small overall improvements, large improvement for (joined) fetched collections (~60%). 2009-08-03 13:25:56 +00:00
romanb
e1f2b8abec [2.0] Implemented support for mapped superclasses. Fixed #2353. 2009-07-30 15:16:02 +00:00
romanb
a301834057 [2.0] First part of cleanup for changeset 6120. More to follow. 2009-07-20 15:30:54 +00:00
romanb
7297ac7baa [2.0] Addressed #2363. 2009-07-19 16:54:53 +00:00
romanb
a758b56551 [2.0] Introduced SQL logging facilities. Made Type constructor private to prevent instantiation and force use of the factory method getType(). 2009-05-28 11:13:12 +00:00
romanb
b66d530540 [2.0] Class table inheritance updates. Started work on self-referencing associations. 2009-05-26 11:30:07 +00:00
romanb
96ef7eca13 [2.0] More small internal perf. improvements. 2009-05-14 18:34:12 +00:00
romanb
eea4391598 [2.0] Started adding performance regression tests. More object hydration performance improvements. 2009-05-14 14:57:08 +00:00
romanb
ecd30bc242 [2.0] Started to implement proxy object handling. Introduced a configuration switch for partial objects (allowPartialObjects) that defaults to TRUE. Setting to FALSE enables proxying and lazy-loading. 2009-05-13 15:19:27 +00:00
romanb
ee46dba332 [2.0] Moved code between Query and AbstractQuery. Added first NativeQuery implementation. Hydration work and code movements for discriminator column usage. Started implementing Single Table Inheritance. 2009-04-12 19:02:12 +00:00
romanb
67ba9661c5 [2.0] Some cleanups. 2009-04-09 18:20:35 +00:00
romanb
523c93c2f1 [2.0] Refactored SQL query building process and hydration. Hydration should now support result sets with any number of root components. Introducing ResultSetMapping that is used by hydration instead of queryComponents. This allows mapping of arbitrary SQL queries (NativeQuery). 2009-04-09 18:12:48 +00:00