QuerySplitter (Hibernate JavaDocs)
Date: 2012-04-05

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.hql.internal
Class QuerySplitter

    java.lang.Object
      org.hibernate.hql.internal.QuerySplitter

    public final class QuerySplitter

extends Object

Provides query splitting methods, which were originally in QueryTranslator.
TODO: This will need to be refactored at some point.

Method Summary
`static String[]` | `concreteQueries(String query, SessionFactoryImplementor factory)` Handle Hibernate "implicit" polymorphism, by translating the query string into several "concrete" queries against mapped classes.
`static String` | `getImportedClass(String name, SessionFactoryImplementor factory)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### 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

    public static String getImportedClass(String name,
                                          SessionFactoryImplementor factory)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.