Class CteDeleteHandler
- java.lang.Object
-
- org.hibernate.query.sqm.mutation.spi.AbstractMutationHandler
-
- org.hibernate.query.sqm.mutation.internal.cte.AbstractCteMutationHandler
-
- org.hibernate.query.sqm.mutation.internal.cte.CteDeleteHandler
-
- All Implemented Interfaces:
DeleteHandler
,Handler
public class CteDeleteHandler extends AbstractCteMutationHandler implements DeleteHandler
Bulk mutation delete handler that uses CTE and VALUES lists.
-
-
Field Summary
-
Fields inherited from class org.hibernate.query.sqm.mutation.internal.cte.AbstractCteMutationHandler
CTE_TABLE_IDENTIFIER
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CteDeleteHandler(CteTable cteTable, SqmDeleteStatement<?> sqmDeleteStatement, DomainParameterXref domainParameterXref, CteMutationStrategy strategy, SessionFactoryImplementor sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addDmlCtes(CteContainer statement, CteStatement idSelectCte, MultiTableSqmMutationConverter sqmConverter, Map<SqmParameter<?>,List<JdbcParameter>> parameterResolutions, SessionFactoryImplementor factory)
protected String
getCteTableName(String tableExpression)
protected String
getCteTableName(PluralAttributeMapping pluralAttribute)
-
Methods inherited from class org.hibernate.query.sqm.mutation.internal.cte.AbstractCteMutationHandler
createIdSubQuery, createIdSubQueryPredicate, createIdSubQueryPredicate, execute, getCteTable, getDomainParameterXref, getStrategy, resolveUnionTableReference
-
Methods inherited from class org.hibernate.query.sqm.mutation.spi.AbstractMutationHandler
getEntityDescriptor, getSessionFactory, getSqmDeleteOrUpdateStatement
-
-
-
-
Constructor Detail
-
CteDeleteHandler
protected CteDeleteHandler(CteTable cteTable, SqmDeleteStatement<?> sqmDeleteStatement, DomainParameterXref domainParameterXref, CteMutationStrategy strategy, SessionFactoryImplementor sessionFactory)
-
-
Method Detail
-
addDmlCtes
protected void addDmlCtes(CteContainer statement, CteStatement idSelectCte, MultiTableSqmMutationConverter sqmConverter, Map<SqmParameter<?>,List<JdbcParameter>> parameterResolutions, SessionFactoryImplementor factory)
- Specified by:
addDmlCtes
in classAbstractCteMutationHandler
-
getCteTableName
protected String getCteTableName(String tableExpression)
- Specified by:
getCteTableName
in classAbstractCteMutationHandler
-
getCteTableName
protected String getCteTableName(PluralAttributeMapping pluralAttribute)
-
-