程序包 org.hibernate.id
接口 BulkInsertionCapableIdentifierGenerator
-
- 所有超级接口:
IdentifierGenerator
- 所有已知实现类:
AbstractPostInsertGenerator,IdentityGenerator,SelectGenerator,SequenceGenerator,SequenceHiLoGenerator,SequenceIdentityGenerator,SequenceStyleGenerator
public interface BulkInsertionCapableIdentifierGenerator extends IdentifierGenerator
Specialized contract forIdentifierGeneratorimplementations capable of being used in conjunction with HQL insert statements.- 作者:
- Steve Ebersole
-
-
字段概要
-
从接口继承的字段 org.hibernate.id.IdentifierGenerator
ENTITY_NAME, GENERATOR_NAME, JPA_ENTITY_NAME
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 StringdetermineBulkInsertionIdentifierGenerationSelectFragment(Dialect dialect)Return the select expression fragment, if any, that generates the identifier values.booleansupportsBulkInsertionIdentifierGeneration()Given the configuration of this generator, is identifier generation as part of bulk insertion supported?-
从接口继承的方法 org.hibernate.id.IdentifierGenerator
generate, supportsJdbcBatchInserts
-
-
-
-
方法详细资料
-
supportsBulkInsertionIdentifierGeneration
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- 返回:
trueif bulk insertions are supported;falseotherwise.
-
determineBulkInsertionIdentifierGenerationSelectFragment
String determineBulkInsertionIdentifierGenerationSelectFragment(Dialect dialect)
Return the select expression fragment, if any, that generates the identifier values.- 参数:
dialect- The dialect against which the insert will be performed.- 返回:
- The identifier value generation fragment (SQL).
nullindicates that no fragment is needed.
-
-