diff --git a/hibernate-core/src/main/java/org/hibernate/id/AbstractPostInsertGenerator.java b/hibernate-core/src/main/java/org/hibernate/id/AbstractPostInsertGenerator.java index 3dc3649dc3..ca57bc0dd3 100755 --- a/hibernate-core/src/main/java/org/hibernate/id/AbstractPostInsertGenerator.java +++ b/hibernate-core/src/main/java/org/hibernate/id/AbstractPostInsertGenerator.java @@ -32,9 +32,4 @@ public abstract class AbstractPostInsertGenerator public String determineBulkInsertionIdentifierGenerationSelectFragment(Dialect dialect) { return null; } - - @Override - public boolean supportsJdbcBatchInserts() { - return false; - } } diff --git a/hibernate-core/src/main/java/org/hibernate/id/PostInsertIdentifierGenerator.java b/hibernate-core/src/main/java/org/hibernate/id/PostInsertIdentifierGenerator.java index cb2e828049..d23d86f238 100755 --- a/hibernate-core/src/main/java/org/hibernate/id/PostInsertIdentifierGenerator.java +++ b/hibernate-core/src/main/java/org/hibernate/id/PostInsertIdentifierGenerator.java @@ -18,4 +18,9 @@ public interface PostInsertIdentifierGenerator extends IdentifierGenerator { PostInsertIdentityPersister persister, Dialect dialect, boolean isGetGeneratedKeysEnabled) throws HibernateException; + + @Override + default boolean supportsJdbcBatchInserts() { + return false; + } }