public class SelectGenerator extends AbstractPostInsertGenerator implements Configurable
| Modifier and Type | Class and Description |
|---|---|
static class |
SelectGenerator.SelectGeneratorDelegate
The delegate for the select generation strategy.
|
ENTITY_NAME, JPA_ENTITY_NAME| Constructor and Description |
|---|
SelectGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Type type,
Properties params,
ServiceRegistry serviceRegistry)
Configure this instance, given the value of parameters
specified by the user as <param> elements.
|
InsertGeneratedIdentifierDelegate |
getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister,
Dialect dialect,
boolean isGetGeneratedKeysEnabled) |
determineBulkInsertionIdentifierGenerationSelectFragment, generate, supportsBulkInsertionIdentifierGenerationpublic void configure(Type type, Properties params, ServiceRegistry serviceRegistry) throws MappingException
Configurableconfigure in interface Configurabletype - The id property type descriptorparams - param values, keyed by parameter nameserviceRegistry - Access to service that may be needed.MappingExceptionpublic InsertGeneratedIdentifierDelegate getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister, Dialect dialect, boolean isGetGeneratedKeysEnabled) throws HibernateException
getInsertGeneratedIdentifierDelegate in interface PostInsertIdentifierGeneratorHibernateExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.