Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 5123b38

Browse files
authored
Merge pull request #991 from grails/988-merge-to-9.0.x
Merge pull request #988 from dertalai/7.2.x
2 parents 22a7455 + 00e3d57 commit 5123b38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

grails-datastore-gorm-hibernate/src/main/groovy/org/grails/orm/hibernate/cfg/GrailsDomainBinder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,15 +1505,15 @@ else if(tablePerConcreteClass) {
15051505
configureDerivedProperties(sub, subMapping);
15061506
}
15071507
}
1508-
Integer bs = m.getBatchSize();
1508+
Integer bs = (m == null) ? null : m.getBatchSize();
15091509
if (bs != null) {
15101510
subClass.setBatchSize(bs);
15111511
}
15121512

1513-
if (m.getDynamicUpdate()) {
1513+
if (m != null && m.getDynamicUpdate()) {
15141514
subClass.setDynamicUpdate(true);
15151515
}
1516-
if (m.getDynamicInsert()) {
1516+
if (m != null && m.getDynamicInsert()) {
15171517
subClass.setDynamicInsert(true);
15181518
}
15191519

0 commit comments

Comments
 (0)