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
Modifier and TypeFieldDescriptionprotected final GeneratedValuesMappingProducer
protected final EntityPersister
-
Constructor Summary
ConstructorDescriptionAbstractGeneratedValuesMutationDelegate
(EntityPersister persister, EventType timing) AbstractGeneratedValuesMutationDelegate
(EntityPersister persister, EventType timing, boolean supportsArbitraryValues, boolean supportsRowId) -
Method Summary
Modifier and TypeMethodDescriptionprotected Dialect
dialect()
Retrieve the mapping producer used to read the generated values.Returns the timing this generated values delegate handles.final boolean
Returnstrue
when this delegate supports retrieving arbitrary generated values, orfalse
when it only supports identifiers.final boolean
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 Details
-
persister
-
jdbcValuesMappingProducer
-
-
Constructor Details
-
AbstractGeneratedValuesMutationDelegate
-
AbstractGeneratedValuesMutationDelegate
public AbstractGeneratedValuesMutationDelegate(EntityPersister persister, EventType timing, boolean supportsArbitraryValues, boolean supportsRowId)
-
-
Method Details
-
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
Description copied from interface:GeneratedValuesMutationDelegate
Retrieve the mapping producer used to read the generated values.- Specified by:
getGeneratedValuesMappingProducer
in interfaceGeneratedValuesMutationDelegate
-
dialect
-