Class MatchingIdSelectionHelper
- java.lang.Object
-
- org.hibernate.query.sqm.mutation.internal.MatchingIdSelectionHelper
-
public class MatchingIdSelectionHelper extends Object
Helper used to generate the SELECT for selection of an entity's identifier, here specifically intended to be used as the SELECT portion of a multi-table SQM mutation
-
-
Constructor Summary
Constructors Constructor Description MatchingIdSelectionHelper()
-
Method Summary
-
-
-
Method Detail
-
generateMatchingIdSelectStatement
public static SelectStatement generateMatchingIdSelectStatement(EntityMappingType targetEntityDescriptor, SqmDeleteOrUpdateStatement sqmStatement, boolean queryRoot, Predicate restriction, MultiTableSqmMutationConverter sqmConverter, DomainQueryExecutionContext executionContext, SessionFactoryImplementor sessionFactory)
-
generateMatchingIdSelectStatement
public static SqmSelectStatement<?> generateMatchingIdSelectStatement(SqmDeleteOrUpdateStatement<?> sqmStatement, EntityMappingType entityDescriptor)
-
generateMatchingIdSelectQuery
public static QuerySpec generateMatchingIdSelectQuery(EntityMappingType targetEntityDescriptor, SqmDeleteOrUpdateStatement sqmStatement, DomainParameterXref domainParameterXref, Predicate restriction, MultiTableSqmMutationConverter sqmConverter, SessionFactoryImplementor sessionFactory)
-
selectMatchingIds
public static List<Object> selectMatchingIds(SqmDeleteOrUpdateStatement<?> sqmMutationStatement, DomainParameterXref domainParameterXref, DomainQueryExecutionContext executionContext)
Centralized selection of ids matching the restriction of the DELETE or UPDATE SQM query
-
-