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, JPA_ENTITY_NAME
Constructor and Description |
---|
IdentityGenerator() |
Modifier and Type | Method and Description |
---|---|
InsertGeneratedIdentifierDelegate |
getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister,
Dialect dialect,
boolean isGetGeneratedKeysEnabled) |
determineBulkInsertionIdentifierGenerationSelectFragment, generate, supportsBulkInsertionIdentifierGeneration
public InsertGeneratedIdentifierDelegate getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister, Dialect dialect, boolean isGetGeneratedKeysEnabled) throws HibernateException
HibernateException
Copyright © 2017 JBoss by Red Hat. All rights reserved.