Class CteInsertStrategy
java.lang.Object
org.hibernate.query.sqm.mutation.internal.cte.CteInsertStrategy
- All Implemented Interfaces:
SqmMultiTableInsertStrategy
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCteInsertStrategy(EntityMappingType rootEntityType, RuntimeModelCreationContext runtimeModelCreationContext) CteInsertStrategy(EntityPersister rootDescriptor, RuntimeModelCreationContext runtimeModelCreationContext) -
Method Summary
Modifier and TypeMethodDescriptionintexecuteInsert(SqmInsertStatement<?> sqmInsertStatement, DomainParameterXref domainParameterXref, DomainQueryExecutionContext context) Execute the multi-table insert indicated by the passed SqmInsertStatementprotected CteTableprotected EntityPersisterprotected SessionFactoryImplementorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.query.sqm.mutation.spi.SqmMultiTableInsertStrategy
prepare, prepare, release
-
Field Details
-
SHORT_NAME
- See Also:
-
-
Constructor Details
-
CteInsertStrategy
public CteInsertStrategy(EntityMappingType rootEntityType, RuntimeModelCreationContext runtimeModelCreationContext) -
CteInsertStrategy
public CteInsertStrategy(EntityPersister rootDescriptor, RuntimeModelCreationContext runtimeModelCreationContext)
-
-
Method Details
-
executeInsert
public int executeInsert(SqmInsertStatement<?> sqmInsertStatement, DomainParameterXref domainParameterXref, DomainQueryExecutionContext context) Description copied from interface:SqmMultiTableInsertStrategyExecute the multi-table insert indicated by the passed SqmInsertStatement- Specified by:
executeInsertin interfaceSqmMultiTableInsertStrategy- Returns:
- The number of rows affected
-
getRootDescriptor
-
getSessionFactory
-
getEntityCteTable
-