Deprecated
as a consequence of PostInsertIdentifierGenerator and BulkInsertionCapableIdentifierGenerator being deprecated. See corresponding docs for further information.
PostInsertIdentifierGenerator contract.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | determineBulkInsertionIdentifierGenerationSelectFragment(SqlStringGenerationContext
A context for SQL string generation. context)Overrides default org. |
| public Serializable | generate(SharedSessionContractImplementor
The session from which the request originates s, Object the entity or collection (idbag) for which the id is being generated obj)Implements org. |
| public boolean | supportsBulkInsertionIdentifierGeneration()
Implements org. |
| AbstractPostInsertGenerator | back to summary |
|---|---|
| public AbstractPostInsertGenerator() | |
| determineBulkInsertionIdentifierGenerationSelectFragment | back to summary |
|---|---|
| public String determineBulkInsertionIdentifierGenerationSelectFragment(SqlStringGenerationContext context) Overrides default org. Return the select expression fragment, if any, that generates the identifier values.
| |
| generate | back to summary |
|---|---|
| public Serializable generate(SharedSessionContractImplementor s, Object obj) Implements org. Doc from org. Generate a new identifier.
| |
| supportsBulkInsertionIdentifierGeneration | back to summary |
|---|---|
| public boolean supportsBulkInsertionIdentifierGeneration() Implements org. Doc from org. Given the configuration of this generator, is identifier generation as part of bulk insertion supported? IMPL NOTE : Mainly here to allow stuff like SequenceStyleGenerator which *can* support this based on configuration
| |