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
d47f724f16
#1178 - restoring correct getJoinTableRestrictionsWithKey
logic as per @jaspernbrouwer's previous implementation
2015-01-17 07:59:02 +01:00
Marco Pivetta
f88f5ce454
#1178 - fetching actual target entity when resolving column types of it
2015-01-17 07:59:02 +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
0743238b43
#1178 - minor code duplication removal
2015-01-17 07:59:01 +01:00
Marco Pivetta
4eaa7ea821
#1178 - correcting class from which the type of a column should be fetched (source class when relationToSourceKeyColumns
is used)
2015-01-17 07:59:01 +01:00
Marco Pivetta
6e2179aa8e
#1178 - handling custom types when filtering/removing by element in extra-lazy many-to-many associations
2015-01-17 07:59:01 +01:00
Marco Pivetta
5e49aeef6f
#1178 - handling custom types when filtering by key in extra-lazy many-to-many associations
2015-01-17 07:59:01 +01:00
Marco Pivetta
e39f08f6bd
#1178 - handling correct parameter binding when counting extra-lazy collections with custom-type referenced identifiers
2015-01-17 07:59:01 +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
91bceca7ee
#1178 - correcting collection insert/update logic to correctly cast values for custom typed columns
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
7b9c6a69bd
Add tests for extra lazy many-to-many associations
...
and fixed production code
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
339bd23ac8
#1209 DDC-3427 - removing leftover EntityManager
hints (using interface instead)
2015-01-16 14:44:31 +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
Guilherme Blanco
a1d77bdc65
Renamed coll to collection and some small updates to tests.
2015-01-15 03:14:48 +00:00
Marco Pivetta
55a75bfb1b
Merge pull request #1249 from doctrine/extra-lazy-get-m2m
...
Support for extra lazy get for both owning and inverse side on many to many associations.
2015-01-15 03:36:35 +01:00
Marco Pivetta
8e28cb9119
Removing useless $self
use
statements, as PHP 5.4 supports $this
in closures
2015-01-14 20:12:27 +01:00
Guilherme Blanco
25b7c64dc6
Implemented support for extra lazy get for both owning and inverse side on many to many associations.
2015-01-13 17:50:20 +00:00
Marco Pivetta
35dd7f8e2b
#1246 DDC-3487 - docblock args fixes
2015-01-13 15:03:04 +01:00
Marco Pivetta
278b8bfa08
#1246 DDC-3487 - minor alignment fixes
2015-01-13 14:58:56 +01:00
Marco Pivetta
7f71cbc8c7
#1246 DDC-3487 - removed unused assignment, minor alignment fixes
2015-01-13 14:54:00 +01:00
Marco Pivetta
97d1d5343e
#1246 DDC-3487 - removed unused assignment, making $association
variable overwrite more obvious
2015-01-13 14:46:34 +01:00
Marco Pivetta
c4366124c7
#1246 DDC-3487 - removed unused assignment, direct return instead
2015-01-13 14:45:13 +01:00
Marco Pivetta
b99f4461be
#1246 DDC-3487 - re-aligning SQL string concatenation for readability, fixed docblock return value hint
2015-01-13 14:37:32 +01:00
Marco Pivetta
5942b6c302
#1246 DDC-3487 - re-aligning SQL string concatenation for readability
2015-01-13 14:31:22 +01:00
Marco Pivetta
77234d6aec
#1246 DDC-3487 - removing unused assignment
2015-01-13 14:30:51 +01:00
Marco Pivetta
a8dcc2acf3
#1246 DDC-3487 - removing possible undefined value path for $newValId
for clarity
2015-01-13 14:05:27 +01:00
Guilherme Blanco
bc268da8c2
Small optimization.
2015-01-13 03:30:07 +00:00
Guilherme Blanco
678f47f494
More deprecated code removal.
2015-01-13 02:52:31 +00:00
Guilherme Blanco
965cdbdbbb
Optimized column to field resolutions.
2015-01-13 02:18:49 +00:00
Guilherme Blanco
96955d6e79
Some small improvements to persisters.
2015-01-13 02:05:33 +00:00
Guilherme Blanco
dd883f2136
Moved delete() and update() to proper locations.
2015-01-12 22:04:04 +00:00
Guilherme Blanco
932a56f26f
Internalize UnitOfWork in CollectionPersisters. Updated related code.
2015-01-12 19:52:27 +00:00
Guilherme Blanco
c5f1b99721
Fixed wrong return.
2015-01-12 18:18:15 +00:00
Guilherme Blanco
73afcec22a
Implemented support for one to many extra lazy with joined inheritance.
2015-01-12 18:15:13 +00:00
Martin Prebio
8f15c5e905
Consistent return type confirming with interface
2014-12-31 01:28:05 +01:00
Rob Caiger
dd398ce577
- Fixed the basic entity persister so that versioned OneToOne entities can be created
...
- Created an IdentifierFlattener utility class
- Moved the logic for the flatten identifier method into the new utility class
- Replaced calls for private flattenIdentifier to use new utility
- Added appropriate unit tests
2014-10-01 14:01:44 +01:00