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, supportsBulkInsertionIdentifierGenerationpublic InsertGeneratedIdentifierDelegate getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister, Dialect dialect, boolean isGetGeneratedKeysEnabled) throws HibernateException
HibernateExceptionCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.