Class CteMutationStrategy
java.lang.Object
org.hibernate.query.sqm.mutation.internal.cte.CteMutationStrategy
- All Implemented Interfaces:
SqmMultiTableMutationStrategy
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCteMutationStrategy
(EntityMappingType rootEntityType, RuntimeModelCreationContext runtimeModelCreationContext) CteMutationStrategy
(EntityPersister rootDescriptor, RuntimeModelCreationContext runtimeModelCreationContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkMatch
(SqmDeleteOrUpdateStatement<?> sqmStatement) int
executeDelete
(SqmDeleteStatement<?> sqmDelete, DomainParameterXref domainParameterXref, DomainQueryExecutionContext context) Execute the multi-table update indicated by the passed SqmUpdateStatementint
executeUpdate
(SqmUpdateStatement<?> sqmUpdate, DomainParameterXref domainParameterXref, DomainQueryExecutionContext context) Execute the multi-table update indicated by the passed SqmUpdateStatementprotected CteTable
protected EntityPersister
protected SessionFactoryImplementor
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.query.sqm.mutation.spi.SqmMultiTableMutationStrategy
prepare, release
-
Field Details
-
SHORT_NAME
- See Also:
-
ID_TABLE_NAME
- See Also:
-
-
Constructor Details
-
CteMutationStrategy
public CteMutationStrategy(EntityMappingType rootEntityType, RuntimeModelCreationContext runtimeModelCreationContext) -
CteMutationStrategy
public CteMutationStrategy(EntityPersister rootDescriptor, RuntimeModelCreationContext runtimeModelCreationContext)
-
-
Method Details
-
executeDelete
public int executeDelete(SqmDeleteStatement<?> sqmDelete, DomainParameterXref domainParameterXref, DomainQueryExecutionContext context) Description copied from interface:SqmMultiTableMutationStrategy
Execute the multi-table update indicated by the passed SqmUpdateStatement- Specified by:
executeDelete
in interfaceSqmMultiTableMutationStrategy
- Returns:
- The number of rows affected
-
executeUpdate
public int executeUpdate(SqmUpdateStatement<?> sqmUpdate, DomainParameterXref domainParameterXref, DomainQueryExecutionContext context) Description copied from interface:SqmMultiTableMutationStrategy
Execute the multi-table update indicated by the passed SqmUpdateStatement- Specified by:
executeUpdate
in interfaceSqmMultiTableMutationStrategy
- Returns:
- The number of rows affected
-
checkMatch
-
getRootDescriptor
-
getSessionFactory
-
getIdCteTable
-