1
0
mirror of synced 2024-12-04 18:56:06 +03:00
Commit Graph

9795 Commits

Author SHA1 Message Date
Thomas Lomas
37f5c82d15 Add proper pluralization into UpdateCommand 2015-02-24 18:13:13 +00:00
Asmir Mustafic
d33ee5e7ff Removed unnecessary API from test cases 2015-02-24 08:53:22 +01:00
Guilherme Blanco
4680a7b861 Fixed bug where embedded reflection fields were never exposed to userland. 2015-02-20 14:10:28 -05:00
Asmir Mustafic
4d43f5ca52 Tested composite keys on non cache-able entities 2015-02-20 19:00:32 +01:00
Asmir Mustafic
d72ad9cc50 Handling composite keys on non cache-able entities 2015-02-20 10:00:36 +01:00
Marco Pivetta
38c819ae04 Merge pull request #1305 from guillaumerobin/patch-2
Documentation : fix table prefix with STI
2015-02-16 21:35:28 +00:00
Guillaume Robin
1661d96b92 Documentation : fix table prefix with STI
If an Entity use STI, it gets its table name from the parent class. In this case, we need to check that the class is the root class of the hierarchy when adding prefix, otherwise children class are prefixed twice.
2015-02-16 22:11:30 +01:00
Kristopher Wilson
a6448f5c77 make QueryBuilder::getAllAliases public 2015-02-16 08:31:14 -05:00
Asmir Mustafic
24dd0c6a55 Fixed delete order on tearDown method 2015-02-16 08:55:27 +01:00
Asmir Mustafic
b9577bf2f3 Added tests for many-to-one non cache-able relations 2015-02-16 08:55:27 +01:00
Asmir Mustafic
60164931b8 Handled one-to-many non cache-able relations 2015-02-16 08:55:27 +01:00
Asmir Mustafic
a2461d6d5f Use identifier flattener to retrevie entity identifiers 2015-02-16 08:55:27 +01:00
Asmir Mustafic
58e20c70c6 Store column values of not cache-able associations 2015-02-16 08:55:27 +01:00
Michaël Gallego
ed6fa0deb4 Add failing test 2015-02-16 08:55:27 +01:00
Marco Pivetta
a13143b1ac Merge branch 'feature/#1229-to-one-association-builder'
Close #1229
2015-02-16 02:06:32 +00:00
Marco Pivetta
1f67218dc5 #1229 - code style fixes (alignment/spacing) 2015-02-16 02:06:22 +00:00
Guido Contreras Woda
baeab5d4f4 More consistent test naming 2015-02-16 02:02:29 +00:00
Guido Contreras Woda
51881fed94 Added tests and validation on joinColumns being set before checking if its a composite key. 2015-02-16 02:02:29 +00:00
Guido Contreras Woda
cd728344e9 Allow an association to be set as primary key through the builder 2015-02-16 02:02:29 +00:00
Marco Pivetta
b5238966d1 Merge branch 'hotfix/#1295-fix-join-when-re-creating-query-builder-from-parts'
Close #1295
2015-02-16 01:23:54 +00:00
Dries De Peuter
4a6afb46e2 Fix join when recreation of query from parts. 2015-02-16 01:23:27 +00:00
Marco Pivetta
f90897465c Merge branch 'hotfix/#1113-composite-pk-improved-support'
Close #1113
2015-02-16 01:17:48 +00:00
Marco Pivetta
2a99d5a19b #1113 - minor CS fixes (spacing/alignment) 2015-02-16 01:02:56 +00:00
Asmir Mustafic
8eea7c86f7 Resolve association entries on multi get cache 2015-02-16 00:53:48 +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
4323d9ce4c Removed unused methods 2015-02-16 00:53:47 +00:00
Asmir Mustafic
7948b0c160 Identity map check 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
2e890362c5 Tested second level cache with composite primary keys 2015-02-16 00:53:46 +00:00
Asmir Mustafic
51b34919ba Second level cache check with composite primary keys 2015-02-16 00:53:46 +00:00
Asmir Mustafic
7222991b13 Tested composite primary key support 2015-02-16 00:53:46 +00:00
Asmir Mustafic
5e29bbd41f Improved composite primary key support 2015-02-16 00:53:46 +00:00
Asmir Mustafic
2eb7dedf4f Refactored IdentifierFlattener 2015-02-16 00:53:46 +00:00
Marco Pivetta
081ad0efbe Merge pull request #1297 from eugene-dounar/docs-embeddable-mapping
[DDC-3480] Docs: Embeddable supported mappings
2015-02-14 23:20:09 +01:00
Marco Pivetta
eb90cf0c3b Merge pull request #1298 from eugene-dounar/docs-clean-up-toc
Docs: Remove empty pages from TOC
2015-02-14 23:18:48 +01:00
Guilherme Blanco
4c68a38bd6 Merge pull request #1294 from weaverryan/target-platform-when-needed
Avoid Connection error when calling ClassMetadataFactor::getAllMetadata()
2015-02-04 16:42:55 -05:00
Ryan Weaver
0e08633790 Adding docblock 2015-02-04 13:51:02 -05:00
Ryan Weaver
75bb3a0de3 Small code change thanks to the comments and adding a test 2015-02-04 13:49:51 -05:00
Steve Müller
a0f3b75ec0 Merge pull request #1299 from javiereguiluz/patch-5
Fixed missing quote in one DQL example
2015-02-04 11:40:57 +01:00
Javier Eguiluz
aa0f18def3 Fixed missing quote in one DQL example 2015-02-04 11:12:15 +01:00
Eugene Dounar
f996f6583a Remove empty pages from TOC
Remove Installation page from TOC as it was moved to "Installation and
Configuration"
2015-02-04 00:44:57 +03:00
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