public interface BulkInsertionCapableIdentifierGenerator extends IdentifierGenerator
IdentifierGenerator
implementations capable of being used in conjunction
with HQL insert statements.ENTITY_NAME, GENERATOR_NAME, JPA_ENTITY_NAME
Modifier and Type | Method and Description |
---|---|
String |
determineBulkInsertionIdentifierGenerationSelectFragment(Dialect dialect)
Return the select expression fragment, if any, that generates the identifier values.
|
boolean |
supportsBulkInsertionIdentifierGeneration()
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
|
generate
boolean supportsBulkInsertionIdentifierGeneration()
true
if bulk insertions are supported; false
otherwise.String determineBulkInsertionIdentifierGenerationSelectFragment(Dialect dialect)
dialect
- The dialect against which the insert will be performed.null
indicates that no fragment is needed.Copyright © 2019 JBoss by Red Hat. All rights reserved.