public class IdentityGenerator extends AbstractPostInsertGenerator
Modifier and Type | Class and Description |
---|---|
static class |
IdentityGenerator.BasicDelegate
Delegate for dealing with IDENTITY columns where the dialect requires an
additional command execution to retrieve the generated IDENTITY value
|
static class |
IdentityGenerator.InsertSelectDelegate
Delegate for dealing with IDENTITY columns where the dialect supports returning
the generated IDENTITY value directly from the insert statement.
|
ENTITY_NAME, GENERATOR_NAME, JPA_ENTITY_NAME
Constructor and Description |
---|
IdentityGenerator() |
Modifier and Type | Method and Description |
---|---|
InsertGeneratedIdentifierDelegate |
getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister,
Dialect dialect,
boolean isGetGeneratedKeysEnabled) |
determineBulkInsertionIdentifierGenerationSelectFragment, generate, supportsBulkInsertionIdentifierGeneration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
supportsJdbcBatchInserts
public InsertGeneratedIdentifierDelegate getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister, Dialect dialect, boolean isGetGeneratedKeysEnabled) throws HibernateException
HibernateException
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.