org.hibernate.id.PostInsertIdentifierGenerator.java Source code

Java tutorial

Introduction

Here is the source code for org.hibernate.id.PostInsertIdentifierGenerator.java

Source

/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
 */
package org.hibernate.id;

import org.hibernate.HibernateException;
import org.hibernate.dialect.Dialect;
import org.hibernate.id.insert.InsertGeneratedIdentifierDelegate;

/**
 * @author Gavin King
 */
public interface PostInsertIdentifierGenerator extends IdentifierGenerator {
    InsertGeneratedIdentifierDelegate getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister,
            Dialect dialect, boolean isGetGeneratedKeysEnabled) throws HibernateException;

    @Override
    default boolean supportsJdbcBatchInserts() {
        return false;
    }
}