Package org.hibernate.generator.values
Class AbstractGeneratedValuesMutationDelegate
- java.lang.Object
-
- org.hibernate.generator.values.AbstractGeneratedValuesMutationDelegate
-
- All Implemented Interfaces:
GeneratedValuesMutationDelegate
- Direct Known Subclasses:
AbstractReturningDelegate
,AbstractSelectingDelegate
public abstract class AbstractGeneratedValuesMutationDelegate extends Object implements GeneratedValuesMutationDelegate
-
-
Field Summary
Fields Modifier and Type Field Description protected GeneratedValuesMappingProducer
jdbcValuesMappingProducer
protected EntityPersister
persister
-
Constructor Summary
Constructors Constructor Description AbstractGeneratedValuesMutationDelegate(EntityPersister persister, EventType timing)
AbstractGeneratedValuesMutationDelegate(EntityPersister persister, EventType timing, boolean supportsArbitraryValues, boolean supportsRowId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Dialect
dialect()
JdbcValuesMappingProducer
getGeneratedValuesMappingProducer()
Retrieve the mapping producer used to read the generated values.EventType
getTiming()
Returns the timing this generated values delegate handles.boolean
supportsArbitraryValues()
Returnstrue
when this delegate supports retrieving arbitrary generated values, orfalse
when it only supports identifiers.boolean
supportsRowId()
Returnstrue
when this delegate supports retrieving theRowId
value.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.generator.values.GeneratedValuesMutationDelegate
createTableMutationBuilder, performMutation, prepareStatement
-
-
-
-
Field Detail
-
persister
protected final EntityPersister persister
-
jdbcValuesMappingProducer
protected final GeneratedValuesMappingProducer jdbcValuesMappingProducer
-
-
Constructor Detail
-
AbstractGeneratedValuesMutationDelegate
public AbstractGeneratedValuesMutationDelegate(EntityPersister persister, EventType timing)
-
AbstractGeneratedValuesMutationDelegate
public AbstractGeneratedValuesMutationDelegate(EntityPersister persister, EventType timing, boolean supportsArbitraryValues, boolean supportsRowId)
-
-
Method Detail
-
getTiming
public EventType getTiming()
Description copied from interface:GeneratedValuesMutationDelegate
Returns the timing this generated values delegate handles.- Specified by:
getTiming
in interfaceGeneratedValuesMutationDelegate
-
supportsArbitraryValues
public final boolean supportsArbitraryValues()
Description copied from interface:GeneratedValuesMutationDelegate
Returnstrue
when this delegate supports retrieving arbitrary generated values, orfalse
when it only supports identifiers.- Specified by:
supportsArbitraryValues
in interfaceGeneratedValuesMutationDelegate
-
supportsRowId
public final boolean supportsRowId()
Description copied from interface:GeneratedValuesMutationDelegate
Returnstrue
when this delegate supports retrieving theRowId
value.- Specified by:
supportsRowId
in interfaceGeneratedValuesMutationDelegate
-
getGeneratedValuesMappingProducer
public JdbcValuesMappingProducer getGeneratedValuesMappingProducer()
Description copied from interface:GeneratedValuesMutationDelegate
Retrieve the mapping producer used to read the generated values.- Specified by:
getGeneratedValuesMappingProducer
in interfaceGeneratedValuesMutationDelegate
-
dialect
protected Dialect dialect()
-
-