1
0
mirror of synced 2025-01-31 04:21:44 +03:00

41 Commits

Author SHA1 Message Date
Josef Kříž
e57be9da5e Fix: generated IDs are converted to integer 2015-03-23 17:51:04 +01:00
vvh-empora
6afcac84d0 embeddedClasses support...
...for JoinedSubclassPersister.php
2015-03-03 11:40:19 +01:00
Guilherme Blanco
4680a7b861 Fixed bug where embedded reflection fields were never exposed to userland. 2015-02-20 14:10:28 -05:00
Marco Pivetta
2a99d5a19b #1113 - minor CS fixes (spacing/alignment) 2015-02-16 01:02:56 +00:00
Asmir Mustafic
cb52782e5e Default Version Value identifier is always an array 2015-02-16 00:53:47 +00:00
Asmir Mustafic
c9e66e464d Changed getSelectConditionStatementColumnSQL return docblock 2015-02-16 00:53:47 +00:00
Asmir Mustafic
1630ec1ebd Fixed owing-inverse side search by criteria 2015-02-16 00:53:47 +00:00
Asmir Mustafic
4d531d8855 Right type detection on to-many relations 2015-02-16 00:53:47 +00:00
Asmir Mustafic
5838115582 Fixed type checking on to-many relations 2015-02-16 00:53:47 +00:00
Asmir Mustafic
5e29bbd41f Improved composite primary key support 2015-02-16 00:53:46 +00:00
Asmir Mustafic
fb5cd928ee Mark getSelectConditionStatementColumnSQL method as private 2015-01-28 23:55:20 +01:00
Marco Pivetta
d4b278c809 #1277 DDC-3346 - removing leftover comments 2015-01-25 05:03:19 +01:00
Marco Pivetta
97ea6a7d85 #1277 DDC-3346 - removing array-based persister context handling (better to just use private props) 2015-01-24 14:39:47 +01:00
Marco Pivetta
1672448993 #1277 DDC-3346 DDC-3531 - renaming persister context switch for clarity 2015-01-24 14:39:45 +01:00
Marco Pivetta
a37fa97be3 #1277 DDC-3346 DDC-3531 - skipping joining of associations when limiting and fetch-joining to-many eager associations 2015-01-24 14:39:45 +01:00
Marco Pivetta
67f60f2286 #1277 DDC-3346 DDC-3531 - switching persister context at runtime, depending on choices 2015-01-24 14:39:44 +01:00
Marco Pivetta
23a0d9a1fb #1277 DDC-3346 DDC-3531 - switch persister context at runtime 2015-01-24 14:39:44 +01:00
Marco Pivetta
8b9171c8ad #1277 DDC-3346 DDC-3531 - caching the currently in use persister context 2015-01-24 14:39:44 +01:00
Marco Pivetta
ebdfab8f2c #1277 DDC-3346 DDC-3531 - moved sqlTableAliases into the newly created CachedPersisterContext 2015-01-24 14:39:44 +01:00
Marco Pivetta
2a7f149029 #1277 DDC-3346 DDC-3531 - moved sqlAliasCounter into the newly created CachedPersisterContext 2015-01-24 14:39:44 +01:00
Marco Pivetta
b9f698c98c #1277 DDC-3346 DDC-3531 - moved selectJoinSql into the newly created CachedPersisterContext 2015-01-24 14:39:43 +01:00
Marco Pivetta
55930a3402 #1277 DDC-3346 DDC-3531 - moved selectColumnListSql into the newly created CachedPersisterContext 2015-01-24 14:39:43 +01:00
Marco Pivetta
4c62d3bfda #1277 DDC-3346 DDC-3531 - moved resultsetmapping into the newly created CachedPersisterContext 2015-01-24 14:39:43 +01:00
Anderson Müller
d48093886d Fix error undefined index "targetEntity" 2015-01-18 15:54:43 +01:00
Marco Pivetta
f13b085582 Using PersisterHelper instead of the unreliable ClassMetadataInfo#getTypeOfColumn() 2015-01-17 08:14:04 +01:00
Marco Pivetta
f1170c84a4 #1086 - Passing type information when building meta-mappings for JTI and STI inheritances 2015-01-17 08:09:55 +01:00
Marco Pivetta
131a39bad4 #1178 - s/getValue/getIdentifierValues 2015-01-17 07:59:03 +01:00
Marco Pivetta
a39b6869ca #1178 - mapping between criteria parameters and types when fetching on one-to-many with additional criterions 2015-01-17 07:59:02 +01:00
Marco Pivetta
ce446a6f03 #1178 - correcting filtering when initializing a one-to-many collection that has composite complex (custom DBAL types) identifiers 2015-01-17 07:59:02 +01:00
Marco Pivetta
096bd90aed #1178 - using the PersisterHelper to extract type of associated meta-result columns 2015-01-17 07:59:02 +01:00
Marco Pivetta
41900dca76 #1178 - correctly handling initialization of collections referenced via custom DBAL types 2015-01-17 07:59:00 +01:00
Marco Pivetta
a80532a538 #1178 - correcting association column type when dealing with multiple derived associations/identifier levels
Since the ClassMetadata can only know about internal state, any `joinColumn` association details on the
inverse side of an association need to be computed by fetching associated metadata.
2015-01-17 07:59:00 +01:00
Marco Pivetta
445798ed46 #1178 - reverting patch and keeping tests (rebase gone awry)
Also cleaning up `OrmFunctionalTestCase`
2015-01-17 07:59:00 +01:00
Jasper N. Brouwer
fe21f18991 Fixed doc-blocks 2015-01-17 07:59:00 +01:00
Jasper N. Brouwer
a0b43d0a7f Don't alias PersisterHelper to Helper 2015-01-17 07:58:59 +01:00
Jasper N. Brouwer
ba3df8577b Refined and added tests, fixed found issues
- Renamed id properties so they don't coexist between entities in a test
- Added tests for extra lazy one-to-many associations
- Fixed production code to make tests green
2015-01-17 07:58:59 +01:00
Jasper N. Brouwer
f7b14085f2 Abstracted infering binding types away in a helper 2015-01-17 07:58:59 +01:00
Jasper N. Brouwer
4f9f7eedf5 Removed DDC-3380 mentions in production code 2015-01-17 07:58:59 +01:00
Jasper N. Brouwer
f60f2a567a Fixed associations using a value-conversion type for identifiers 2015-01-17 07:58:59 +01:00
Marco Pivetta
6fc0d84b7a DDC-3427 - s/EntityManager/EntityManagerInterface in type-hints 2015-01-16 14:21:30 +01:00
Guilherme Blanco
f90475772d Classify persisters into more granular namespaces. 2015-01-16 00:10:25 +01:00