Eugene Dounar
cd7f91910b
Docs: Embeddable supported mappings
...
Mention that only basic mapping is supported by embeddables
2015-02-04 00:17:13 +03:00
Marco Pivetta
78d3f51140
Merge pull request #1296 from joenivl/patch-1
...
Flip key value in $namespaces array
2015-02-03 14:48:44 +00:00
Jeroen van Leeuwen
f9cf2b6a95
Flip key value in $namespaces array
...
Key value should be other way around.
2015-02-03 14:54:21 +01:00
Guilherme Blanco
64ef89ce4c
Merge pull request #1292 from goetas/private-method-mark
...
Mark getSelectConditionStatementColumnSQL method as private
2015-01-28 22:11:49 -05:00
Ryan Weaver
b30d1dd39c
Only getting the target platform when it's *actually* needed to avoid errors
...
initialize() is called sometimes, even when the following code doesn't need
the targetPlatform property. Specifically, in AbstractClassMetadataFactory::getAllMetadata().
But as of DBAL 2.5.0, calling Connection::getDatabasePlatform() will make a
connection to the database, which means that sometimes it may fail (e.g. you
haven't configured your database yet). As a result, calling a method like
AbstractClassMetadataFactory::getAllMetadata() - which does not need the
targetPlatform - will fail, because determining the targetPlatform requires
a connection, which fails.
This avoids that - we only get the targetPlatform *when* we need it, which
are cases where we're doing things that do indeed need a connection.
2015-01-28 20:17:28 -05:00
Asmir Mustafic
fb5cd928ee
Mark getSelectConditionStatementColumnSQL method as private
2015-01-28 23:55:20 +01:00
Marco Pivetta
17a23ea825
Merge pull request #1222 from guiwoda/embeddables-in-metadata-builder
...
Embeddables in metadata builder
2015-01-28 22:25:10 +00:00
Marco Pivetta
3ed73b4a60
Merge pull request #1288 from Ocramius/hotfix/#1169-extra-lazy-one-to-many-is-noop-when-not-doing-orphan-removal
...
Hotfix - #1169 - extra lazy one to many must be no-op when not doing orphan removal
2015-01-28 20:27:22 +00:00
Marco Pivetta
e76b20b109
#1169 DDC-3343 - removing note about query count assertion
2015-01-28 20:01:57 +00:00
Marco Pivetta
ffaffa0b8a
Merge pull request #1290 from phansys/doc-slc
...
[Doc] [Reference] [Second Level Cache]
2015-01-27 16:37:22 +00:00
Javier Spagnoletti
c6158ae3f4
Updated reference for Second Level Cache (fixed some typos and docblocks).
2015-01-27 13:24:35 -03:00
Marco Pivetta
969788d928
Merge pull request #1289 from deeky666/improve-testsuite
...
Improve test suite
2015-01-27 12:24:36 +00:00
Steve Müller
3b61d2d0fe
initialize database schema only once and avoid unnecessary connections
2015-01-27 12:28:31 +01:00
Steve Müller
75e41eefb5
fix indentation
2015-01-27 10:02:57 +01:00
Steve Müller
5795d53ca7
remove temporary database dependencies from Travis build
2015-01-27 09:44:06 +01:00
Steve Müller
2fbc483fe3
apply current implementation from DBAL @ dcdf744e3fdd2ba99239ee41009e08a4b6450eff
2015-01-27 09:40:45 +01:00
Marco Pivetta
c7a6352b08
#1169 DDC-3343 - eagerly evicting cache if a persister passes a delete operation down to the DB
2015-01-27 09:04:28 +01:00
Marco Pivetta
a9671fdc2e
#1169 DDC-3343 - eagerly evicting cache if a persister passes a delete operation down to the DB
2015-01-27 09:04:00 +01:00
Marco Pivetta
c4019d96b9
#1169 DDC-3343 - when a deletion fails for some reason, related cache entries should be evicted to avoid collisions with DB state
2015-01-27 09:03:36 +01:00
Marco Pivetta
f32766c00d
#1169 DDC-3343 - when using one-to-many extra-lazy with orphan-removal, referenced entities should be deleted directly
2015-01-27 07:46:31 +01:00
Marco Pivetta
3f28adf9b6
#1169 DDC-3343 - correcting collection name used in tests
2015-01-27 07:45:58 +01:00
Marco Pivetta
a0eb6005f3
#1169 DDC-3343 - adding tests for orphan-removal + extra-lazy + one-to-many element removal behavior
2015-01-27 07:42:48 +01:00
Marco Pivetta
9eaac13615
#1169 DDC-3343 - correcting one-to-many persister - association should not be updated directly if no orphan removal is involved
2015-01-27 06:27:37 +01:00
Marco Pivetta
539c364ca6
#1169 DDC-3343 - updating test expectations - one-to-many changes should be no-op unless orphan removal is specified.
2015-01-27 06:26:55 +01:00
Marco Pivetta
9839c400b8
#1169 DDC-3343 - updating test expectations - one-to-many changes should be no-op unless orphan removal is specified.
2015-01-27 06:19:26 +01:00
Marco Pivetta
7e8d27d41a
Merge pull request #1287 from BenMorel/patch-1
...
Typo fix
2015-01-26 01:53:41 +01:00
Benjamin Morel
58e2510f41
Typo fix
2015-01-25 23:54:59 +01:00
Marco Pivetta
146354d835
Merge pull request #1280 from Ocramius/hotfix/#1277-find-one-with-eager-loads-is-failing
...
[DDC-3346] #1277 find one with eager loads is failing
2015-01-25 06:00:47 +01:00
Marco Pivetta
d024193cc0
Merge pull request #1272 from Ocramius/hotfix/DDC-2704-merge-inherited-transient-properties
...
[DDC-2704] - merge inherited transient properties - merge properties into uninitialized proxies
2015-01-25 05:55:53 +01:00
Marco Pivetta
d62cb6237f
Merge pull request #1286 from Ocramius/feature/remove-xdebug-from-non-coverage-builds
...
Removing XDebug from non-coverage builds
2015-01-25 05:51:11 +01:00
Marco Pivetta
5bf18298b1
Merge pull request #1281 from Ocramius/hotfix/#1169-extra-lazy-one-to-many-should-not-delete-referenced-entities
...
Hotfix/#1169 extra lazy one to many should not delete referenced entities
2015-01-25 05:43:34 +01:00
Marco Pivetta
3570f4a49a
#1277 DDC-3346 - disabling XDebug only for non-hhvm builds
2015-01-25 05:42:24 +01:00
Marco Pivetta
670acfc693
Removing XDebug from non-coverage builds
2015-01-25 05:35:31 +01:00
Marco Pivetta
d4b278c809
#1277 DDC-3346 - removing leftover comments
2015-01-25 05:03:19 +01:00
Marco Pivetta
cb780e8bb6
#1169 DDC-3343 - factoring logging into cached collection persister changes
2015-01-25 04:45:45 +01:00
Marco Pivetta
7e85c94f48
#1169 DDC-3343 - adapting cached collection persister logic to EXTRA_LAZY collection behavior
2015-01-25 04:40:30 +01:00
Marco Pivetta
4a05e19f37
Merge pull request #1283 from Ocramius/hotfix/#1267-order-by-broken-in-pagination-logic
...
#1267 - order by broken in pagination logic (reverts #1220 )
2015-01-24 19:20:00 +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
dff365318d
#1277 DDC-3346 DDC-3531 - enforcing 0
offset to avoid persisting more than 1 row
2015-01-24 14:39:47 +01:00
Marco Pivetta
186c593058
#1277 DDC-3346 DDC-3531 - proper bi-directional association setup
2015-01-24 14:39:46 +01:00
Marco Pivetta
39a8941d1b
#1277 DDC-3346 DDC-3531 - minor CS fixes/cleanups: avoiding setters
2015-01-24 14:39:46 +01:00
Marco Pivetta
04a271a04e
#1277 DDC-3346 DDC-3531 - refactoring test assets for readability
2015-01-24 14:39:46 +01:00
Marco Pivetta
36bc448880
#1277 DDC-3346 DDC-3531 - refactoring test code for simplicity/readability
2015-01-24 14:39:46 +01:00
Marco Pivetta
16f447d1ac
#1277 DDC-3346 DDC-3531 - correct usage of the model set (setUp/tearDown of model-related tables)
2015-01-24 14:39:46 +01:00
Marco Pivetta
6e3ad496e2
#1277 DDC-3346 DDC-3531 - constants over string references
2015-01-24 14:39:45 +01:00
Marco Pivetta
157bf203bc
#1277 DDC-3346 DDC-3531 - additional tests for LIMIT and OFFSET repository API (must not hydrate collections)
2015-01-24 14:39:45 +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