Package org.hibernate.hql
Class QuerySplitter
java.lang.Object
org.hibernate.hql.QuerySplitter
Provides query splitting methods, which were originally in QueryTranslator.
TODO: This will need to be refactored at some point.
TODO: This will need to be refactored at some point.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String[]concreteQueries(String query, SessionFactoryImplementor factory) Handle Hibernate "implicit" polymorphism, by translating the query string into several "concrete" queries against mapped classes.static StringgetImportedClass(String name, SessionFactoryImplementor factory)
-
Method Details
-
concreteQueries
public static String[] concreteQueries(String query, SessionFactoryImplementor factory) throws MappingException Handle Hibernate "implicit" polymorphism, by translating the query string into several "concrete" queries against mapped classes.- Throws:
MappingException
-
getImportedClass
-