mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1656 #1824 Stateless updates - Remove update deleteMissingChildren option, instead always use orphanRemoval
This commit is contained in:
@@ -225,7 +225,9 @@ public class AnnotationAssocOnes extends AnnotationParser {
|
||||
prop.setNullable(propAnn.optional());
|
||||
prop.setFetchType(propAnn.fetch());
|
||||
prop.setMappedBy(propAnn.mappedBy());
|
||||
prop.setOrphanRemoval(readOrphanRemoval(propAnn));
|
||||
if (readOrphanRemoval(propAnn)) {
|
||||
prop.setOrphanRemoval();
|
||||
}
|
||||
if (!"".equals(propAnn.mappedBy())) {
|
||||
prop.setOneToOneExported();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user