org.hibernate.test.hql
Class QueryTranslatorTestCase
java.lang.Object
org.hibernate.testing.junit4.BaseUnitTestCase
org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
org.hibernate.test.hql.QueryTranslatorTestCase
- Direct Known Subclasses:
- ClassicTranslatorTest, CriteriaClassicAggregationReturnTest, CriteriaHQLAlignmentTest, HQLTest
public abstract class QueryTranslatorTestCase
- extends BaseCoreFunctionalTestCase
Methods inherited from class org.hibernate.testing.junit4.BaseCoreFunctionalTestCase |
addMappings, addMappings, afterConfigurationBuilt, afterConfigurationBuilt, afterSessionFactoryBuilt, afterTest, applyCacheSettings, assertAllDataRemoved, beforeTest, buildConfiguration, buildServiceRegistry, cleanupCache, cleanupTest, configuration, configure, constructConfiguration, generateBootstrapRegistry, getAnnotatedClasses, getAnnotatedPackages, getBaseForMappings, getCacheConcurrencyStrategy, getDialect, getXmlFiles, onFailure, openSession, openSession, overrideCacheStrategy, prepareBasicRegistryBuilder, prepareBootstrapRegistryBuilder, prepareTest, readCommittedIsolationMaintained, rebuildSessionFactory, serviceRegistry, sessionFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryTranslatorTestCase
public QueryTranslatorTestCase()
getMappings
public String[] getMappings()
- Overrides:
getMappings
in class BaseCoreFunctionalTestCase
createSchema
public boolean createSchema()
- Overrides:
createSchema
in class BaseCoreFunctionalTestCase
rebuildSessionFactoryOnError
public boolean rebuildSessionFactoryOnError()
- Overrides:
rebuildSessionFactoryOnError
in class BaseCoreFunctionalTestCase
assertTranslation
public void assertTranslation(String hql)
throws QueryException,
MappingException
- Throws:
QueryException
MappingException
assertTranslation
protected void assertTranslation(String hql,
Map replacements)
assertTranslation
protected void assertTranslation(String hql,
Map replacements,
boolean scalar,
String sql)
createNewQueryTranslator
protected QueryTranslatorImpl createNewQueryTranslator(String hql,
Map replacements,
boolean scalar)
createNewQueryTranslator
protected QueryTranslatorImpl createNewQueryTranslator(String hql)
createNewQueryTranslator
protected QueryTranslatorImpl createNewQueryTranslator(String hql,
SessionFactoryImplementor sfimpl)
createQueryPlan
protected HQLQueryPlan createQueryPlan(String hql,
boolean scalar)
createQueryPlan
protected HQLQueryPlan createQueryPlan(String hql)
getSessionFactoryImplementor
@Deprecated
protected SessionFactoryImplementor getSessionFactoryImplementor()
- Deprecated.
compileBadHql
protected Exception compileBadHql(String hql,
boolean scalar)
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.