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, GENERATOR_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, supportsBulkInsertionIdentifierGeneration, supportsJdbcBatchInserts
public void configure(Type type, Properties params, ServiceRegistry serviceRegistry) throws MappingException
Configurable
configure
in interface Configurable
type
- The id property type descriptorparams
- param values, keyed by parameter nameserviceRegistry
- Access to service that may be needed.MappingException
public InsertGeneratedIdentifierDelegate getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister, Dialect dialect, boolean isGetGeneratedKeysEnabled) throws HibernateException
getInsertGeneratedIdentifierDelegate
in interface PostInsertIdentifierGenerator
HibernateException
Copyright © 2021 JBoss by Red Hat. All rights reserved.