Class OptionalTableUpdateWithUpsertOperation
java.lang.Object
org.hibernate.sql.model.jdbc.OptionalTableUpdateOperation
org.hibernate.sql.model.jdbc.OptionalTableUpdateWithUpsertOperation
- All Implemented Interfaces:
MutationOperation, SelfExecutingUpdateOperation
Uses
OptionalTableInsert for the insert operation,
to avoid primary key constraint violations when inserting only primary key columns.-
Constructor Summary
ConstructorsConstructorDescriptionOptionalTableUpdateWithUpsertOperation(EntityMutationTarget mutationTarget, org.hibernate.sql.model.internal.OptionalTableUpdate upsert, SessionFactoryImplementor factory) -
Method Summary
Methods inherited from class OptionalTableUpdateOperation
createJdbcDelete, createJdbcInsert, createJdbcUpdate, findValueDescriptor, getKeyBindings, getMutationTarget, getMutationType, getOptimisticLockBindings, getParameters, getTableDetails, getValueBindings, performMutationMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface MutationOperation
getJdbcValueDescriptor
-
Constructor Details
-
OptionalTableUpdateWithUpsertOperation
public OptionalTableUpdateWithUpsertOperation(EntityMutationTarget mutationTarget, org.hibernate.sql.model.internal.OptionalTableUpdate upsert, SessionFactoryImplementor factory)
-
-
Method Details
-
toString
- Overrides:
toStringin classOptionalTableUpdateOperation