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 TypeMethodDescriptionint
executeInsert
(SqmInsertStatement<?> sqmInsertStatement, DomainParameterXref domainParameterXref, DomainQueryExecutionContext context) Execute the multi-table insert indicated by the passed SqmInsertStatementprotected 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
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:SqmMultiTableInsertStrategy
Execute the multi-table insert indicated by the passed SqmInsertStatement- Specified by:
executeInsert
in interfaceSqmMultiTableInsertStrategy
- Returns:
- The number of rows affected
-
getRootDescriptor
-
getSessionFactory
-
getEntityCteTable
-