Top Description Constructors Methods
org.hibernate.query.hql.internal

public Class QuerySplitter

extends Object
Class Inheritance
Imports
java.util.Set, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.metamodel.model.domain.EntityDomainType, org.hibernate.query.sqm.internal.SimpleSqmCopyContext, org.hibernate.query.sqm.tree.SqmCopyContext, .SqmDeleteOrUpdateStatement, .SqmStatement, org.hibernate.query.sqm.tree.delete.SqmDeleteStatement, org.hibernate.query.sqm.tree.domain.SqmPolymorphicRootDescriptor, org.hibernate.query.sqm.tree.expression.SqmParameter, org.hibernate.query.sqm.tree.from.SqmRoot, org.hibernate.query.sqm.tree.select.SqmQueryGroup, .SqmQueryPart, .SqmQuerySpec, .SqmSelectStatement

Handles splitting queries containing unmapped polymorphic references.
Authors
Steve Ebersole, Marco Belladelli

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static <S extends SqmStatement<?>> S
copyStatement(S statement, SqmRoot<E> unmappedPolymorphicReference, EntityDomainType<?> mappedDescriptor)

private static SqmRoot<?>
private static SqmRoot<?>
public static <R> SqmSelectStatement<R>[]
split(SqmSelectStatement<R> statement, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
public static <R> SqmDeleteStatement<R>[]
split(SqmDeleteStatement<R> statement, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

QuerySplitterback to summary
public QuerySplitter()

Method Detail

copyStatementback to summary
private static <S extends SqmStatement<?>> S copyStatement(S statement, SqmRoot<E> unmappedPolymorphicReference, EntityDomainType<?> mappedDescriptor)
Annotations
@SuppressWarnings:unchecked, rawtypes
findUnmappedPolymorphicReferenceback to summary
private static SqmRoot<?> findUnmappedPolymorphicReference(SqmQueryPart<?> queryPart)
findUnmappedPolymorphicReferenceback to summary
private static SqmRoot<?> findUnmappedPolymorphicReference(SqmDeleteOrUpdateStatement<?> queryPart)
splitback to summary
public static <R> SqmSelectStatement<R>[] split(SqmSelectStatement<R> statement, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

splitback to summary
public static <R> SqmDeleteStatement<R>[] split(SqmDeleteStatement<R> statement, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.