Bug 429 : Pull Request: jroper - Fixing ManyToMany association saving bug
Priority 
High
Reported Version 
 
Logged By 
Rob
Status 
Fixed
Fixed Version 
3.x
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
01/10/2012
Updated 
01/10/2012
Type 
Bug
 
Attachments 
No attachments

Fixes bug where ManyToMany associations are not saved, unless configured to cascade. The target entities shouldn't be saved unless cascade is set, but the association itself should be saved regardless.

 
Rob 01 Oct 23:00
Merged into origin/master

Merged.

Rob 02 Oct 01:12
Note this this breaks TestDuplcateKeyException

TestDuplcateKeyException persists to the intersection table twice (both directions) so hits a primary key violation inserting into the intersection table.

woResponse

Upload a file