Class SqmMutationStrategyHelper
- java.lang.Object
-
- org.hibernate.query.sqm.mutation.internal.SqmMutationStrategyHelper
-
public class SqmMutationStrategyHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcleanUpCollectionTables(EntityMappingType entityDescriptor, BiFunction<TableReference,PluralAttributeMapping,Predicate> restrictionProducer, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext)static PredicategetIdSubqueryPredicate(Predicate predicate, EntityMappingType entityDescriptor, TableGroup tableGroup, SharedSessionContractImplementor session)Translates the original delete predicate to be used in the id subquery forcing the use of the table alias qualifierstatic voidvisitCollectionTables(EntityMappingType entityDescriptor, Consumer<PluralAttributeMapping> consumer)
-
-
-
Method Detail
-
visitCollectionTables
public static void visitCollectionTables(EntityMappingType entityDescriptor, Consumer<PluralAttributeMapping> consumer)
-
cleanUpCollectionTables
public static void cleanUpCollectionTables(EntityMappingType entityDescriptor, BiFunction<TableReference,PluralAttributeMapping,Predicate> restrictionProducer, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext)
-
getIdSubqueryPredicate
public static Predicate getIdSubqueryPredicate(Predicate predicate, EntityMappingType entityDescriptor, TableGroup tableGroup, SharedSessionContractImplementor session)
Translates the original delete predicate to be used in the id subquery forcing the use of the table alias qualifier
-
-