Benjamin Eberlei
f0546455d5
Remove left over ElementCollection code.
2013-12-20 15:01:10 +01:00
Fabio B. Silva
61bff7d5f6
Fix CS and update docs
2013-12-16 11:05:04 -05:00
Fabio B. Silva
3140593e9b
Second level cache
2013-12-16 11:05:04 -05:00
Aaron Muylaert
3cc630798b
Fix DDC-1787.
...
Credit goes to Jack van Galen for fixing this issue.
Fix for JoinedSubclassPersister, multiple inserts with versioning throws
an optimistic locking exception.
2013-12-14 13:50:46 +01:00
Fabio B. Silva
3529cd4282
Merge pull request #797 from peterkokot/patch-1
...
CS fixes
2013-11-16 10:52:09 -08:00
Diego Mazzaro
bd0e0c3fcf
[bugfix] if BIGINT or SMALLINT version field was not incremented.
...
Made version field accepted type coherent between ClassMetadataInfo and BasicEntityPersister
2013-09-29 16:17:10 +02:00
Peter Kokot
dca09148ca
CS fixes
2013-09-22 02:12:30 +02:00
Benjamin Eberlei
b6e624b6bf
Delete some very old, leftover code.
2013-09-11 22:43:38 +02:00
Guilherme Blanco
09d51f9df5
Fixing missing table aliases when using Many2Many persister.
2013-08-21 23:39:40 -04:00
Dustin Thomson
27bae51fa0
Modified executeInserts method in JoinedSubclassPersister to only check for the presence of columns in a composite primary key
2013-08-11 19:41:10 -06:00
Fabio B. Silva
1fbe1ffc5a
fix DDC-2579
2013-07-29 19:31:44 -04:00
Sander Marechal
06ed21e883
Remove extra-lazy-get for ManyToMany relation
2013-06-27 14:19:39 +02:00
Sander Marechal
5635fa60a4
Check owning entitiy on extra lazy get with OneToMany relation
2013-06-27 14:17:41 +02:00
Sander Marechal
3555007f08
Return NULL for non-existent keys
...
The load() function already returns just one entity or NULL, so
the current() is not needed and the result can be returned directly.
2013-06-20 10:09:52 +02:00
Sander Marechal
523697d0b6
[DDC-1398] Extra-lazy get for indexed associations
...
If an association is EXTRA_LAZY and has an indexBy, then
you can call get() without loading the entire collection.
2013-06-20 09:29:56 +02:00
Fabio B. Silva
f16c8e3efe
Fix DDC-2478
2013-06-13 16:44:02 -04:00
Fabio B. Silva
d685f592fe
Fix DDC-2494
2013-06-12 10:30:51 -04:00
Alexander
66a842c143
[DDC-2471] Fix EQ/NEQ null handling of criteria
2013-05-26 09:04:19 +02:00
Benjamin Eberlei
eb1a162cbc
Fix regression in DDC-2430.
2013-05-10 23:31:27 +02:00
Benjamin Eberlei
6d5afb18bc
[DDC-2430] Prevent Criteria queries using the ID of an assocation on PersistentCollections, as the in-memory ArrayCollection does not work with this kind of query. Attention this is a BC-BREAK, that is necessary to fix potentially very hard to debug bugs. Therefore it is not merged back into 2.3
2013-05-09 13:24:36 +02:00
Benjamin Eberlei
8e8560b276
Merge pull request #537 from Powerhamster/joined-composite-keys
...
fixed problems with joined inheritance and composite keys
2013-05-04 05:59:02 -07:00
Benjamin Eberlei
0864ab8ada
[DDC-1998] Pass types to Connection#delete() to allow custom conversions to happen.
2013-05-01 20:30:45 +02:00
Benjamin Eberlei
640a8e58c7
[DDC-2106] Fix entity as parameter value when its managed but not yet with identifier.
2013-05-01 18:46:41 +02:00
Benjamin Eberlei
52b2e066c5
Merge pull request #611 from stefankleff/fix-eagerloading
...
Fixed typo in hints. Caused slow loading of eager entities.
2013-04-14 00:43:42 -07:00
Stefan Kleff
e561f47cb2
Added constant
2013-04-08 11:27:22 +02:00
Benjamin Eberlei
cef20890dc
Merge pull request #616 from FabioBatSilva/DDC-2252
...
[DDC-2252] Fix delete many-to-many composite key
2013-04-06 10:37:16 -07:00
Pascal Borreli
30b050b44c
Fixed typos
2013-04-06 14:31:27 +00:00
Fabio B. Silva
1effd38043
Fix DDC-2252
2013-03-16 01:15:54 -03:00
Benjamin Eberlei
ba4705176e
Merge pull request #601 from jankramer/add-contains-comparison
...
Add 'contains' comparison
2013-03-12 11:38:18 -07:00
Stefan Kleff
d937d1fc82
Fixed typo in hints. Caused slow loading of eager entities.
2013-03-12 16:17:14 +01:00
Pascal Borreli
a2cd0f5804
Fixed typos
2013-03-11 00:08:58 +00:00
Jan Kramer
760623346c
Added 'contains' comparison
2013-03-07 13:32:56 +01:00
Benjamin Morel
cba1c8295c
Fixed wrong return types in documentation.
2013-02-12 11:49:44 +00:00
Benjamin Morel
f834c37f8a
Fixed a wrong return type.
2013-02-03 00:48:05 +00:00
Fabio B. Silva
6074755b91
Fix DDC-1376
2013-01-13 22:39:59 -02:00
Benjamin Eberlei
e2c1ff1a48
[DDC-2175] Fix bug in JoinedSubclassPersister
2012-12-24 10:39:23 +01:00
Thomas Rothe
fb055ca75d
fixed problems with joined inheritance and composite keys
...
SchemaTool now creates all Id columns not just only the first one.
Insert statement for child entity now contains parameter for additional key columns only once.
2012-12-16 18:20:10 +01:00
Benjamin Morel
43b301f22b
Fixed English mistakes
2012-12-03 11:02:29 +00:00
Benjamin Morel
159ece8943
Fixed documentation for ORM\Persisters
2012-12-03 10:15:43 +00:00
Benjamin Eberlei
05e5ae8bfa
Merge pull request #413 from FabioBatSilva/refactory-persisters
...
code refactorings on persister
2012-11-25 03:50:52 -08:00
Matthieu Napoli
e15cf324c3
Fix and test for DDC-2073
2012-11-06 15:05:53 +01:00
Fabio B. Silva
122569eee0
Fix CS
2012-11-05 22:52:43 -02:00
Fabio B. Silva
0fa89647d2
Fix DocBlock
2012-11-05 22:52:42 -02:00
Fabio B. Silva
ecaa3fd03e
Third round of refactorings on BasicEntityPersister
2012-11-05 22:52:42 -02:00
Fabio B. Silva
c8899c2b3b
second round of CS fixes
2012-11-05 22:52:42 -02:00
Fabio B. Silva
a295525501
Fix some CS
2012-11-05 22:52:41 -02:00
Fabio B. Silva
827153624c
Second round of refactorings on BasicEntityPersister
2012-11-05 22:52:41 -02:00
Fabio B. Silva
04e1838c92
change 'use' statements
2012-11-05 22:52:41 -02:00
Fabio B. Silva
14a2b61671
code refactoring on SingleTablePersister
2012-11-05 22:52:40 -02:00
Fabio B. Silva
9a041c8fdb
code refactoring on OneToManyPersister
2012-11-05 22:52:40 -02:00