Class DeleteOrUpsertOperation
java.lang.Object
org.hibernate.sql.spi.mutation.jdbc.DeleteOrUpsertOperation
- All Implemented Interfaces:
JdbcValueDescriptorAccess, MutationOperation, SelfExecutingUpdateOperation
@SPI({USE,IMPLEMENT})
public class DeleteOrUpsertOperation
extends Object
implements SelfExecutingUpdateOperation
-
Constructor Summary
ConstructorsConstructorDescriptionDeleteOrUpsertOperation(UpsertOperation upsertOperation, OptionalTableUpdate optionalTableUpdate) -
Method Summary
Modifier and TypeMethodDescriptionprotected final PreparedStatementDetailscreateDeleteStatementDetails(SharedSessionContractImplementor session, TableMapping tableMapping) final JdbcValueDescriptorfindValueDescriptor(String columnName, ParameterUsage usage) Find the JDBC parameter to be used for the specified column.final MutationTargetThe thing being mutatedfinal MutationTypeThe type of operation (INSERT, etc)final TableMappingThe table against which operation is to be performedfinal voidperformMutation(JdbcValueBindings jdbcValueBindings, ValuesAnalysis valuesAnalysis, SharedSessionContractImplementor session) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JdbcValueDescriptorAccess
forEachValueDescriptorMethods inherited from interface MutationOperation
getJdbcValueDescriptor, resolvePhysicalTableName, resolveValueDescriptor
-
Constructor Details
-
DeleteOrUpsertOperation
@SPI(IMPLEMENT) public DeleteOrUpsertOperation(UpsertOperation upsertOperation, OptionalTableUpdate optionalTableUpdate)
-
-
Method Details
-
getMutationType
Description copied from interface:MutationOperationThe type of operation (INSERT, etc)- Specified by:
getMutationTypein interfaceMutationOperation
-
getMutationTarget
Description copied from interface:MutationOperationThe thing being mutated- Specified by:
getMutationTargetin interfaceMutationOperation
-
getTableDetails
Description copied from interface:MutationOperationThe table against which operation is to be performed- Specified by:
getTableDetailsin interfaceMutationOperation
-
findValueDescriptor
Description copied from interface:MutationOperationFind the JDBC parameter to be used for the specified column.- Specified by:
findValueDescriptorin interfaceMutationOperation- Returns:
- The descriptor, or null if none match.
- See Also:
-
getUpsertOperation
-
getOptionalTableUpdate
-