java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.hibernate.test.TestCase
org.hibernate.test.hql.ASTParserLoadingTest
- All Implemented Interfaces:
- junit.framework.Test
- public class ASTParserLoadingTest
- extends org.hibernate.test.TestCase
Tests the integration of the new AST parser into the loading of query results using
the Hibernate persisters and loaders.
Also used to test the syntax of the resulting sql against the underlying
database, specifically for functionality not supported by the classic
parser.
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class org.hibernate.test.TestCase |
afterSessionFactoryBuilt, appliesTo, assertClassAssignability, assertElementTypeAssignability, dialectIsCaseSensitive, dialectSupportsEmptyInList, dropAfterFailure, fullTestName, getBaseForMappings, getCacheConcurrencyStrategy, getCfg, getDialect, getExtraProperties, getSessions, openSession, openSession, overrideCacheStrategy, readCommittedIsolationMaintained, recreateSchema, reportSkip, reportSkip, runTest, setCfg, setUp, sfi |
| Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
createdAnimalIds
private java.util.List createdAnimalIds
ASTParserLoadingTest
public ASTParserLoadingTest(java.lang.String name)
suite
public static junit.framework.Test suite()
getMappings
protected java.lang.String[] getMappings()
configure
protected void configure(org.hibernate.cfg.Configuration cfg)
testMultipleBagFetchesFail
public void testMultipleBagFetchesFail()
testCollectionJoinsInSubselect
public void testCollectionJoinsInSubselect()
testCollectionFetchWithDistinctionAndLimit
public void testCollectionFetchWithDistinctionAndLimit()
testFetchInSubqueryFails
public void testFetchInSubqueryFails()
testQueryMetadataRetrievalWithFetching
public void testQueryMetadataRetrievalWithFetching()
testSuperclassPropertyReferenceAfterCollectionIndexedAccess
public void testSuperclassPropertyReferenceAfterCollectionIndexedAccess()
testJoinFetchCollectionOfValues
public void testJoinFetchCollectionOfValues()
testIntegerLiterals
public void testIntegerLiterals()
testDecimalLiterals
public void testDecimalLiterals()
testNakedPropertyRef
public void testNakedPropertyRef()
testNakedComponentPropertyRef
public void testNakedComponentPropertyRef()
testNakedImplicitJoins
public void testNakedImplicitJoins()
testNakedEntityAssociationReference
public void testNakedEntityAssociationReference()
testNakedMapIndex
public void testNakedMapIndex()
throws java.lang.Exception
testInvalidFetchSemantics
public void testInvalidFetchSemantics()
testArithmetic
public void testArithmetic()
testNestedCollectionFetch
public void testNestedCollectionFetch()
testSelectClauseSubselect
public void testSelectClauseSubselect()
testInitProxy
public void testInitProxy()
testSelectClauseImplicitJoin
public void testSelectClauseImplicitJoin()
testSelectClauseImplicitJoinWithIterate
public void testSelectClauseImplicitJoinWithIterate()
testComponentOrderBy
public void testComponentOrderBy()
genSimpleHuman
private Human genSimpleHuman(java.lang.String fName,
java.lang.String lName)
testCastInSelect
public void testCastInSelect()
testAliases
public void testAliases()
testParameterMixing
public void testParameterMixing()
testOrdinalParameters
public void testOrdinalParameters()
testIndexParams
public void testIndexParams()
testAggregation
public void testAggregation()
testSelectClauseCase
public void testSelectClauseCase()
testImplicitPolymorphism
public void testImplicitPolymorphism()
testCoalesce
public void testCoalesce()
testStr
public void testStr()
testCast
public void testCast()
testExtract
public void testExtract()
testOneToManyFilter
public void testOneToManyFilter()
throws java.lang.Throwable
testManyToManyFilter
public void testManyToManyFilter()
throws java.lang.Throwable
testSelectExpressions
public void testSelectExpressions()
createTestBaseData
private void createTestBaseData()
destroyTestBaseData
private void destroyTestBaseData()
testImplicitJoin
public void testImplicitJoin()
throws java.lang.Exception
testFromOnly
public void testFromOnly()
throws java.lang.Exception
testSimpleSelect
public void testSimpleSelect()
throws java.lang.Exception
testEntityPropertySelect
public void testEntityPropertySelect()
throws java.lang.Exception
testWhere
public void testWhere()
throws java.lang.Exception
testEntityFetching
public void testEntityFetching()
throws java.lang.Exception
testCollectionFetching
public void testCollectionFetching()
throws java.lang.Exception
testProjectionQueries
public void testProjectionQueries()
throws java.lang.Exception
testStandardFunctions
public void testStandardFunctions()
throws java.lang.Exception
testDynamicInstantiationQueries
public void testDynamicInstantiationQueries()
throws java.lang.Exception
testIllegalMixedTransformerQueries
public void testIllegalMixedTransformerQueries()
getSelectNewQuery
private org.hibernate.Query getSelectNewQuery(org.hibernate.Session session)
testResultTransformerScalarQueries
public void testResultTransformerScalarQueries()
throws java.lang.Exception
testResultTransformerEntityQueries
public void testResultTransformerEntityQueries()
throws java.lang.Exception
testEJBQLFunctions
public void testEJBQLFunctions()
throws java.lang.Exception
testSubselectBetween
public void testSubselectBetween()
assertResultSize
private void assertResultSize(java.lang.String hql,
int size)