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 TypeMethodDescriptionbuildHandler(SqmInsertStatement<?> sqmInsertStatement, DomainParameterXref domainParameterXref, DomainQueryExecutionContext context) Builds a cacheable handler for the passed SqmInsertStatement.protected 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
executeInsert, 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
-
buildHandler
public MultiTableHandlerBuildResult buildHandler(SqmInsertStatement<?> sqmInsertStatement, DomainParameterXref domainParameterXref, DomainQueryExecutionContext context) Description copied from interface:SqmMultiTableInsertStrategyBuilds a cacheable handler for the passed SqmInsertStatement.- Specified by:
buildHandlerin interfaceSqmMultiTableInsertStrategy- Returns:
- The number of rows affected
-
getRootDescriptor
-
getSessionFactory
-
getEntityCteTable
-