org.hibernate.test.querycache
Class HqlQueryCacheIgnoreResultTransformerTest

java.lang.Object
  extended by org.hibernate.testing.junit4.BaseUnitTestCase
      extended by org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
          extended by org.hibernate.test.querycache.AbstractQueryCacheResultTransformerTest
              extended by org.hibernate.test.querycache.HqlQueryCacheIgnoreResultTransformerTest
Direct Known Subclasses:
HqlQueryCachePutResultTransformerTest

public class HqlQueryCacheIgnoreResultTransformerTest
extends AbstractQueryCacheResultTransformerTest


Nested Class Summary
 
Nested classes/interfaces inherited from class org.hibernate.test.querycache.AbstractQueryCacheResultTransformerTest
AbstractQueryCacheResultTransformerTest.CriteriaExecutor, AbstractQueryCacheResultTransformerTest.HqlExecutor, AbstractQueryCacheResultTransformerTest.QueryExecutor, AbstractQueryCacheResultTransformerTest.ResultChecker
 
Nested classes/interfaces inherited from class org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
BaseCoreFunctionalTestCase.RollbackWork
 
Field Summary
 
Fields inherited from class org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
DIALECT, NO_CLASSES, NO_MAPPINGS, USE_NEW_METADATA_MAPPINGS, VALIDATE_DATA_CLEANUP
 
Constructor Summary
HqlQueryCacheIgnoreResultTransformerTest()
           
 
Method Summary
protected  CacheMode getQueryCacheMode()
           
protected  void runTest(AbstractQueryCacheResultTransformerTest.HqlExecutor hqlExecutor, AbstractQueryCacheResultTransformerTest.CriteriaExecutor criteriaExecutor, AbstractQueryCacheResultTransformerTest.ResultChecker checker, boolean isSingleResult)
           
 void testAliasToEntityMapNoProjectionList()
           
 void testAliasToEntityMapNoProjectionMultiAndNullList()
           
 void testAliasToEntityMapNoProjectionNullAndNonNullAliasList()
           
 void testMultiSelectNewMapUsingAliasesWithFetchJoinList()
           
 
Methods inherited from class org.hibernate.test.querycache.AbstractQueryCacheResultTransformerTest
areDynamicNonLazyAssociationsChecked, assertCount, assertDeleteCount, assertEntityFetchCount, assertHitCount, assertInsertCount, assertMissCount, assertPutCount, assertUpdateCount, clearCache, clearStatistics, configure, createData, deleteData, getMappings, runTest, testAliasToBeanDtoLiteralArgList, testAliasToBeanDtoMultiArgList, testAliasToBeanDtoOneArgList, testAliasToBeanDtoWithNullAliasList, testAliasToEntityMapMultiAggregatedPropProjectionSingleResult, testAliasToEntityMapMultiProjectionList, testAliasToEntityMapMultiProjectionWithNullAliasList, testAliasToEntityMapOneProjectionList, testEntityWithAliasedJoinFetchedLazyOneToManySingleElementListHql, testEntityWithJoinedLazyManyToOneListCriteria, testEntityWithJoinedLazyManyToOneListHql, testEntityWithJoinedLazyOneToManyMultiAndNullListCriteria, testEntityWithJoinedLazyOneToManyMultiAndNullListHql, testEntityWithJoinedLazyOneToManySingleElementListCriteria, testEntityWithJoinedLazyOneToManySingleElementListHql, testEntityWithJoinFetchedLazyManyToOneList, testEntityWithJoinFetchedLazyManyToOneUsingProjectionList, testEntityWithJoinFetchedLazyOneToManyMultiAndNullElementList, testEntityWithLazyAssnList, testEntityWithLazyAssnUnique, testEntityWithNonLazyManyToOneList, testEntityWithNonLazyOneToManyUnique, testEntityWithSelectFetchedLazyOneToManySingleElementListCriteria, testEntityWithUnaliasedJoinFetchedLazyOneToManySingleElementList, testJoinWithFetchJoinListCriteria, testJoinWithFetchJoinListHql, testJoinWithFetchJoinWithAliasedJoinedAndOwnerProjectedListHql, testJoinWithFetchJoinWithOwnerAndAliasedJoinedProjectedListHql, testJoinWithFetchJoinWithOwnerAndPropProjectedList, testJoinWithFetchJoinWithPropAndOwnerProjectedList, testListElementsProjectionList, testMapElementsList, testMapEntryList, testMapKeyList, testMapValueList, testMultiAggregatedPropProjectionSingleResult, testMultiEntityProjectionAliasedList, testMultiEntityProjectionList, testMultiEntityProjectionUnique, testMultiProjectionListThenApplyAliasToBean, testMultiSelectAliasToEntityMapUsingAliasesWithFetchJoinList, testMultiSelectNewList, testMultiSelectNewListList, testMultiSelectNewMapUsingAliasesList, testMultiSelectNewWithLiteralList, testMultiSelectUsingImplicitJoinWithFetchJoinListHql, testOneEntityProjectionList, testOneEntityProjectionUnique, testOneNonEntityProjectionList, testOneNonEntityProjectionUnique, testOneSelectNewAliasesList, testOneSelectNewNoAliasesList, testSelectNewEntityConstructorList, testSelectNewMapUsingAliasesList, testSingleAggregatedPropProjectionSingleResult
 
Methods inherited from class org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
addMappings, addMappings, afterConfigurationBuilt, afterConfigurationBuilt, afterSessionFactoryBuilt, afterTest, applyCacheSettings, assertAllDataRemoved, beforeTest, buildConfiguration, buildServiceRegistry, cleanupCache, cleanupTest, configuration, constructConfiguration, createSchema, generateBootstrapRegistry, getAnnotatedClasses, getAnnotatedPackages, getBaseForMappings, getCacheConcurrencyStrategy, getDialect, getXmlFiles, onFailure, openSession, openSession, overrideCacheStrategy, prepareBasicRegistryBuilder, prepareBootstrapRegistryBuilder, prepareTest, readCommittedIsolationMaintained, rebuildSessionFactory, rebuildSessionFactoryOnError, serviceRegistry, sessionFactory
 
Methods inherited from class org.hibernate.testing.junit4.BaseUnitTestCase
releaseTransactions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HqlQueryCacheIgnoreResultTransformerTest

public HqlQueryCacheIgnoreResultTransformerTest()
Method Detail

getQueryCacheMode

protected CacheMode getQueryCacheMode()
Specified by:
getQueryCacheMode in class AbstractQueryCacheResultTransformerTest

runTest

protected void runTest(AbstractQueryCacheResultTransformerTest.HqlExecutor hqlExecutor,
                       AbstractQueryCacheResultTransformerTest.CriteriaExecutor criteriaExecutor,
                       AbstractQueryCacheResultTransformerTest.ResultChecker checker,
                       boolean isSingleResult)
                throws Exception
Overrides:
runTest in class AbstractQueryCacheResultTransformerTest
Throws:
Exception

testAliasToEntityMapNoProjectionList

public void testAliasToEntityMapNoProjectionList()
                                          throws Exception
Overrides:
testAliasToEntityMapNoProjectionList in class AbstractQueryCacheResultTransformerTest
Throws:
Exception

testAliasToEntityMapNoProjectionMultiAndNullList

public void testAliasToEntityMapNoProjectionMultiAndNullList()
                                                      throws Exception
Overrides:
testAliasToEntityMapNoProjectionMultiAndNullList in class AbstractQueryCacheResultTransformerTest
Throws:
Exception

testAliasToEntityMapNoProjectionNullAndNonNullAliasList

public void testAliasToEntityMapNoProjectionNullAndNonNullAliasList()
                                                             throws Exception
Overrides:
testAliasToEntityMapNoProjectionNullAndNonNullAliasList in class AbstractQueryCacheResultTransformerTest
Throws:
Exception

testMultiSelectNewMapUsingAliasesWithFetchJoinList

public void testMultiSelectNewMapUsingAliasesWithFetchJoinList()
                                                        throws Exception
Overrides:
testMultiSelectNewMapUsingAliasesWithFetchJoinList in class AbstractQueryCacheResultTransformerTest
Throws:
Exception


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