Package org.hibernate.sql.model.jdbc
Class DeleteOrUpsertOperation
java.lang.Object
org.hibernate.sql.model.jdbc.DeleteOrUpsertOperation
- All Implemented Interfaces:
MutationOperation
,SelfExecutingUpdateOperation
-
Constructor Summary
ConstructorsModifierConstructorDescriptionDeleteOrUpsertOperation
(EntityMutationTarget mutationTarget, EntityTableMapping tableMapping, UpsertOperation upsertOperation, OptionalTableUpdate optionalTableUpdate) protected
-
Method Summary
Modifier and TypeMethodDescriptionfindValueDescriptor
(String columnName, ParameterUsage usage) Find the JDBC parameter to be used for the specified column.The thing being mutatedThe type of operation (INSERT, etc)The table against which operation is to be performedvoid
performMutation
(JdbcValueBindings jdbcValueBindings, ValuesAnalysis valuesAnalysis, SharedSessionContractImplementor session) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.sql.model.MutationOperation
getJdbcValueDescriptor
-
Constructor Details
-
DeleteOrUpsertOperation
public DeleteOrUpsertOperation(EntityMutationTarget mutationTarget, EntityTableMapping tableMapping, UpsertOperation upsertOperation, OptionalTableUpdate optionalTableUpdate) -
DeleteOrUpsertOperation
-
-
Method Details
-
getMutationType
Description copied from interface:MutationOperation
The type of operation (INSERT, etc)- Specified by:
getMutationType
in interfaceMutationOperation
-
getMutationTarget
Description copied from interface:MutationOperation
The thing being mutated- Specified by:
getMutationTarget
in interfaceMutationOperation
-
getTableDetails
Description copied from interface:MutationOperation
The table against which operation is to be performed- Specified by:
getTableDetails
in interfaceMutationOperation
-
findValueDescriptor
Description copied from interface:MutationOperation
Find the JDBC parameter to be used for the specified column.- Specified by:
findValueDescriptor
in interfaceMutationOperation
- Returns:
- The descriptor, or null if none match.
- See Also:
-
getUpsertOperation
-
getOptionalTableUpdate
-