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 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.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:SqmMultiTableInsertStrategy
Builds a cacheable handler for the passed SqmInsertStatement.- Specified by:
buildHandler
in interfaceSqmMultiTableInsertStrategy
- Returns:
- The number of rows affected
-
getRootDescriptor
-
getSessionFactory
-
getEntityCteTable
-