mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
* provide test case, that shows problem on multiple-m2m * FIX: When saving multiple m2m beans, only last m2m wins (Regression due #1630)
This commit is contained in:
1 parent
7929d8c0b8
commit
fc7fae35c9
5 files changed
+67
-6
No files matched your search
@@ -247,7 +247,7 @@ public class SaveManyBeans extends SaveManyBase {
|
||||
if (request.isQueueManyIntersection()) {
|
||||
// queue/delay until bean persist request is flushed
|
||||
this.deleteMissing = deleteMissingChildren;
|
||||
request.setManyIntersection(this);
|
||||
request.addManyIntersection(this);
|
||||
} else {
|
||||
saveAssocManyIntersection(deleteMissingChildren, false);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user