HHH-13365 : Entities in joined subclass table are not inserted with batch size > 0 using sequence-identity ID generator

This commit is contained in:
Gail Badner 2019-11-15 16:11:29 -08:00 committed by Andrea Boriero
parent 7d11649d99
commit 6ce7831f77
2 changed files with 5 additions and 5 deletions

View File

@ -32,9 +32,4 @@ public abstract class AbstractPostInsertGenerator
public String determineBulkInsertionIdentifierGenerationSelectFragment(Dialect dialect) {
return null;
}
@Override
public boolean supportsJdbcBatchInserts() {
return false;
}
}

View File

@ -18,4 +18,9 @@ public interface PostInsertIdentifierGenerator extends IdentifierGenerator {
PostInsertIdentityPersister persister,
Dialect dialect,
boolean isGetGeneratedKeysEnabled) throws HibernateException;
@Override
default boolean supportsJdbcBatchInserts() {
return false;
}
}