org.hibernate.test.hql
Class HQLTest
java.lang.Object
org.hibernate.testing.junit4.BaseUnitTestCase
org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
org.hibernate.test.hql.QueryTranslatorTestCase
org.hibernate.test.hql.HQLTest
public class HQLTest
- extends QueryTranslatorTestCase
Tests cases where the AST based query translator and the 'classic' query translator generate identical SQL.
Methods inherited from class org.hibernate.test.hql.QueryTranslatorTestCase |
assertTranslation, assertTranslation, assertTranslation, compileBadHql, createNewQueryTranslator, createNewQueryTranslator, createNewQueryTranslator, createQueryPlan, createQueryPlan, getMappings, getSessionFactoryImplementor |
Methods inherited from class org.hibernate.testing.junit4.BaseCoreFunctionalTestCase |
addMappings, addMappings, afterConfigurationBuilt, afterConfigurationBuilt, afterSessionFactoryBuilt, afterTest, applyCacheSettings, assertAllDataRemoved, beforeTest, buildConfiguration, buildServiceRegistry, cleanupCache, configuration, configure, constructConfiguration, generateBootstrapRegistry, getAnnotatedClasses, getAnnotatedPackages, getBaseForMappings, getCacheConcurrencyStrategy, getDialect, getXmlFiles, onFailure, openSession, openSession, overrideCacheStrategy, prepareBasicRegistryBuilder, prepareBootstrapRegistryBuilder, readCommittedIsolationMaintained, rebuildSessionFactory, serviceRegistry, sessionFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HQLTest
public HQLTest()
createSchema
public boolean createSchema()
- Overrides:
createSchema
in class QueryTranslatorTestCase
rebuildSessionFactoryOnError
public boolean rebuildSessionFactoryOnError()
- Overrides:
rebuildSessionFactoryOnError
in class QueryTranslatorTestCase
prepareTest
protected void prepareTest()
throws Exception
- Overrides:
prepareTest
in class BaseCoreFunctionalTestCase
- Throws:
Exception
cleanupTest
protected void cleanupTest()
throws Exception
- Overrides:
cleanupTest
in class BaseCoreFunctionalTestCase
- Throws:
Exception
testModulo
public void testModulo()
testInvalidCollectionDereferencesFail
public void testInvalidCollectionDereferencesFail()
testRowValueConstructorSyntaxInInList2
public void testRowValueConstructorSyntaxInInList2()
testRowValueConstructorSyntaxInInListBeingTranslated
public void testRowValueConstructorSyntaxInInListBeingTranslated()
testRowValueConstructorSyntaxInInList
public void testRowValueConstructorSyntaxInInList()
testSubComponentReferences
public void testSubComponentReferences()
testManyToAnyReferences
public void testManyToAnyReferences()
testJoinFetchCollectionOfValues
public void testJoinFetchCollectionOfValues()
testCollectionMemberDeclarations2
public void testCollectionMemberDeclarations2()
testCollectionMemberDeclarations
public void testCollectionMemberDeclarations()
testCollectionJoinsInSubselect
public void testCollectionJoinsInSubselect()
testEmptyInList
public void testEmptyInList()
testDateTimeArithmeticReturnTypesAndParameterGuessing
public void testDateTimeArithmeticReturnTypesAndParameterGuessing()
testReturnMetadata
public void testReturnMetadata()
testImplicitJoinsAlongWithCartesianProduct
public void testImplicitJoinsAlongWithCartesianProduct()
testSubselectBetween
public void testSubselectBetween()
testFetchOrderBy
public void testFetchOrderBy()
testCollectionOrderBy
public void testCollectionOrderBy()
testExpressionWithParamInFunction
public void testExpressionWithParamInFunction()
testCompositeKeysWithPropertyNamedId
public void testCompositeKeysWithPropertyNamedId()
testMaxindexHqlFunctionInElementAccessor
public void testMaxindexHqlFunctionInElementAccessor()
testMultipleElementAccessorOperators
public void testMultipleElementAccessorOperators()
throws Exception
- Throws:
Exception
testKeyManyToOneJoin
public void testKeyManyToOneJoin()
testDuplicateExplicitJoin
public void testDuplicateExplicitJoin()
throws Exception
- Throws:
Exception
testIndexWithExplicitJoin
public void testIndexWithExplicitJoin()
throws Exception
- Throws:
Exception
testOneToManyMapIndex
public void testOneToManyMapIndex()
throws Exception
- Throws:
Exception
testExplicitJoinMapIndex
public void testExplicitJoinMapIndex()
throws Exception
- Throws:
Exception
testIndexFunction
public void testIndexFunction()
throws Exception
- Throws:
Exception
testSelectCollectionOfValues
public void testSelectCollectionOfValues()
throws Exception
- Throws:
Exception
testCollectionOfValues
public void testCollectionOfValues()
throws Exception
- Throws:
Exception
testHHH719
public void testHHH719()
throws Exception
- Throws:
Exception
testParameterListExpansion
public void testParameterListExpansion()
testComponentManyToOneDereferenceShortcut
public void testComponentManyToOneDereferenceShortcut()
testNestedCollectionImplicitJoins
public void testNestedCollectionImplicitJoins()
testExplicitJoinsInSubquery
public void testExplicitJoinsInSubquery()
testImplicitJoinsInGroupBy
public void testImplicitJoinsInGroupBy()
testCrazyIdFieldNames
public void testCrazyIdFieldNames()
testSizeFunctionAndProperty
public void testSizeFunctionAndProperty()
testFromOnly
public void testFromOnly()
throws Exception
- Throws:
Exception
testJoinPathEndingInValueCollection
public void testJoinPathEndingInValueCollection()
testSerialJoinPathEndingInValueCollection
public void testSerialJoinPathEndingInValueCollection()
testImplicitJoinContainedByCollectionFunction
public void testImplicitJoinContainedByCollectionFunction()
testImpliedJoinInSubselectFrom
public void testImpliedJoinInSubselectFrom()
testSubselectImplicitJoins
public void testSubselectImplicitJoins()
testCollectionOfValuesSize
public void testCollectionOfValuesSize()
throws Exception
- Throws:
Exception
testCollectionFunctions
public void testCollectionFunctions()
throws Exception
- Throws:
Exception
testImplicitJoinInExplicitJoin
public void testImplicitJoinInExplicitJoin()
throws Exception
- Throws:
Exception
testImpliedManyToManyProperty
public void testImpliedManyToManyProperty()
throws Exception
- Throws:
Exception
testCollectionSize
public void testCollectionSize()
throws Exception
- Throws:
Exception
testFetchCollectionOfValues
public void testFetchCollectionOfValues()
throws Exception
- Throws:
Exception
testFetchList
public void testFetchList()
throws Exception
- Throws:
Exception
testCollectionFetchWithExplicitThetaJoin
public void testCollectionFetchWithExplicitThetaJoin()
testListElementFunctionInWhere
public void testListElementFunctionInWhere()
throws Exception
- Throws:
Exception
testManyToManyMaxElementFunctionInWhere
public void testManyToManyMaxElementFunctionInWhere()
throws Exception
- Throws:
Exception
testCollectionIndexFunctionsInWhere
public void testCollectionIndexFunctionsInWhere()
throws Exception
- Throws:
Exception
testCollectionIndicesInWhere
public void testCollectionIndicesInWhere()
throws Exception
- Throws:
Exception
testIndicesInWhere
public void testIndicesInWhere()
throws Exception
- Throws:
Exception
testCollectionElementInWhere
public void testCollectionElementInWhere()
throws Exception
- Throws:
Exception
testElementsInWhere
public void testElementsInWhere()
throws Exception
- Throws:
Exception
testNull
public void testNull()
throws Exception
- Throws:
Exception
testSubstitutions
public void testSubstitutions()
throws Exception
- Throws:
Exception
testWhere
public void testWhere()
throws Exception
- Throws:
Exception
testEscapedQuote
public void testEscapedQuote()
throws Exception
- Throws:
Exception
testCaseWhenElse
public void testCaseWhenElse()
testCaseExprWhenElse
public void testCaseExprWhenElse()
testInvalidHql
public void testInvalidHql()
throws Exception
- Throws:
Exception
testWhereBetween
public void testWhereBetween()
throws Exception
- Throws:
Exception
testConcatenation
public void testConcatenation()
testWhereLike
public void testWhereLike()
throws Exception
- Throws:
Exception
testWhereIn
public void testWhereIn()
throws Exception
- Throws:
Exception
testLiteralInFunction
public void testLiteralInFunction()
throws Exception
- Throws:
Exception
testExpressionInFunction
public void testExpressionInFunction()
throws Exception
- Throws:
Exception
testNotOrWhereClause
public void testNotOrWhereClause()
testComplexExpressionInFunction
public void testComplexExpressionInFunction()
throws Exception
- Throws:
Exception
testStandardFunctions
public void testStandardFunctions()
throws Exception
- Throws:
Exception
testOrderBy
public void testOrderBy()
throws Exception
- Throws:
Exception
testGroupByFunction
public void testGroupByFunction()
testPolymorphism
public void testPolymorphism()
throws Exception
- Throws:
Exception
testTokenReplacement
public void testTokenReplacement()
throws Exception
- Throws:
Exception
testProduct
public void testProduct()
throws Exception
- Throws:
Exception
testJoinedSubclassProduct
public void testJoinedSubclassProduct()
throws Exception
- Throws:
Exception
testProjectProduct
public void testProjectProduct()
throws Exception
- Throws:
Exception
testExplicitEntityJoins
public void testExplicitEntityJoins()
throws Exception
- Throws:
Exception
testMultipleExplicitEntityJoins
public void testMultipleExplicitEntityJoins()
throws Exception
- Throws:
Exception
testMultipleExplicitJoins
public void testMultipleExplicitJoins()
throws Exception
- Throws:
Exception
testExplicitEntityJoinsWithRestriction
public void testExplicitEntityJoinsWithRestriction()
throws Exception
- Throws:
Exception
testIdProperty
public void testIdProperty()
throws Exception
- Throws:
Exception
testSubclassAssociation
public void testSubclassAssociation()
throws Exception
- Throws:
Exception
testExplicitCollectionJoins
public void testExplicitCollectionJoins()
throws Exception
- Throws:
Exception
testExplicitOuterJoinFetch
public void testExplicitOuterJoinFetch()
throws Exception
- Throws:
Exception
testExplicitOuterJoinFetchWithSelect
public void testExplicitOuterJoinFetchWithSelect()
throws Exception
- Throws:
Exception
testExplicitJoins
public void testExplicitJoins()
throws Exception
- Throws:
Exception
testMultibyteCharacterConstant
public void testMultibyteCharacterConstant()
throws Exception
- Throws:
Exception
testImplicitJoins
public void testImplicitJoins()
throws Exception
- Throws:
Exception
testImplicitJoinInSelect
public void testImplicitJoinInSelect()
testSelectExpressions
public void testSelectExpressions()
testSelectStandardFunctionsNoParens
public void testSelectStandardFunctionsNoParens()
throws Exception
- Throws:
Exception
testMapIndex
public void testMapIndex()
throws Exception
- Throws:
Exception
testNamedParameters
public void testNamedParameters()
throws Exception
- Throws:
Exception
testClassProperty
public void testClassProperty()
throws Exception
- Throws:
Exception
testComponent
public void testComponent()
throws Exception
- Throws:
Exception
testSelectEntity
public void testSelectEntity()
throws Exception
- Throws:
Exception
testValueAggregate
public void testValueAggregate()
testAggregation
public void testAggregation()
throws Exception
- Throws:
Exception
testSelectProperty
public void testSelectProperty()
throws Exception
- Throws:
Exception
testSelectEntityProperty
public void testSelectEntityProperty()
throws Exception
- Throws:
Exception
testSelectDistinctAll
public void testSelectDistinctAll()
throws Exception
- Throws:
Exception
testSelectAssociatedEntityId
public void testSelectAssociatedEntityId()
throws Exception
- Throws:
Exception
testGroupBy
public void testGroupBy()
throws Exception
- Throws:
Exception
testGroupByMultiple
public void testGroupByMultiple()
throws Exception
- Throws:
Exception
testManyToMany
public void testManyToMany()
throws Exception
- Throws:
Exception
testManyToManyElementFunctionInWhere
public void testManyToManyElementFunctionInWhere()
throws Exception
- Throws:
Exception
testManyToManyElementFunctionInWhere2
public void testManyToManyElementFunctionInWhere2()
throws Exception
- Throws:
Exception
testManyToManyFetch
public void testManyToManyFetch()
throws Exception
- Throws:
Exception
testManyToManyIndexAccessor
public void testManyToManyIndexAccessor()
throws Exception
- Throws:
Exception
testSelectNew
public void testSelectNew()
throws Exception
- Throws:
Exception
testSimpleCorrelatedSubselect
public void testSimpleCorrelatedSubselect()
throws Exception
- Throws:
Exception
testSimpleUncorrelatedSubselect
public void testSimpleUncorrelatedSubselect()
throws Exception
- Throws:
Exception
testSimpleCorrelatedSubselect2
public void testSimpleCorrelatedSubselect2()
throws Exception
- Throws:
Exception
testSimpleUncorrelatedSubselect2
public void testSimpleUncorrelatedSubselect2()
throws Exception
- Throws:
Exception
testUncorrelatedSubselect2
public void testUncorrelatedSubselect2()
throws Exception
- Throws:
Exception
testCorrelatedSubselect2
public void testCorrelatedSubselect2()
throws Exception
- Throws:
Exception
testManyToManyJoinInSubselect
public void testManyToManyJoinInSubselect()
throws Exception
- Throws:
Exception
testImplicitJoinInSubselect
public void testImplicitJoinInSubselect()
throws Exception
- Throws:
Exception
testManyToOneSubselect
public void testManyToOneSubselect()
testPositionalParameters
public void testPositionalParameters()
throws Exception
- Throws:
Exception
testKeywordPropertyName
public void testKeywordPropertyName()
throws Exception
- Throws:
Exception
testJavaConstant
public void testJavaConstant()
throws Exception
- Throws:
Exception
testClassName
public void testClassName()
throws Exception
- Throws:
Exception
testSelectDialectFunction
public void testSelectDialectFunction()
throws Exception
- Throws:
Exception
testTwoJoins
public void testTwoJoins()
throws Exception
- Throws:
Exception
testToOneToManyManyJoinSequence
public void testToOneToManyManyJoinSequence()
throws Exception
- Throws:
Exception
testToOneToManyJoinSequence
public void testToOneToManyJoinSequence()
throws Exception
- Throws:
Exception
testSubclassExplicitJoin
public void testSubclassExplicitJoin()
throws Exception
- Throws:
Exception
testMultipleExplicitCollectionJoins
public void testMultipleExplicitCollectionJoins()
throws Exception
- Throws:
Exception
testSelectDistinctComposite
public void testSelectDistinctComposite()
throws Exception
- Throws:
Exception
testDotComponent
public void testDotComponent()
throws Exception
- Throws:
Exception
testOrderByCount
public void testOrderByCount()
throws Exception
- Throws:
Exception
testHavingCount
public void testHavingCount()
throws Exception
- Throws:
Exception
selectWhereElements
public void selectWhereElements()
throws Exception
- Throws:
Exception
testCollectionOfComponents
public void testCollectionOfComponents()
throws Exception
- Throws:
Exception
testNestedComponentIsNull
public void testNestedComponentIsNull()
testOneToOneJoinedFetch
public void testOneToOneJoinedFetch()
throws Exception
- Throws:
Exception
testSubclassImplicitJoin
public void testSubclassImplicitJoin()
throws Exception
- Throws:
Exception
testComponent2
public void testComponent2()
throws Exception
- Throws:
Exception
testOneToOne
public void testOneToOne()
throws Exception
- Throws:
Exception
testSelectClauseImplicitJoin
public void testSelectClauseImplicitJoin()
throws Exception
- Throws:
Exception
testFromClauseImplicitJoin
public void testFromClauseImplicitJoin()
throws Exception
- Throws:
Exception
testJoinedSubclassWithOrCondition
public void testJoinedSubclassWithOrCondition()
testImplicitJoinInFrom
public void testImplicitJoinInFrom()
testDuplicateImplicitJoinInSelect
public void testDuplicateImplicitJoinInSelect()
testConstructorNode
public void testConstructorNode()
throws Exception
- Throws:
Exception
testIndexNode
public void testIndexNode()
throws Exception
- Throws:
Exception
testExceptions
public void testExceptions()
throws Exception
- Throws:
Exception
testSelectProperty2
public void testSelectProperty2()
throws Exception
- Throws:
Exception
testSubclassWhere
public void testSubclassWhere()
throws Exception
- Throws:
Exception
testNestedImplicitJoinsInSelect
public void testNestedImplicitJoinsInSelect()
throws Exception
- Throws:
Exception
testNestedComponent
public void testNestedComponent()
throws Exception
- Throws:
Exception
testNull2
public void testNull2()
throws Exception
- Throws:
Exception
testUnknownFailureFromMultiTableTest
public void testUnknownFailureFromMultiTableTest()
testJoinInSubselect
public void testJoinInSubselect()
throws Exception
- Throws:
Exception
testJoinedSubclassImplicitJoin
public void testJoinedSubclassImplicitJoin()
throws Exception
- Throws:
Exception
testProjectProductJoinedSubclass
public void testProjectProductJoinedSubclass()
throws Exception
- Throws:
Exception
testCorrelatedSubselect1
public void testCorrelatedSubselect1()
throws Exception
- Throws:
Exception
testOuterAliasInSubselect
public void testOuterAliasInSubselect()
testFetch
public void testFetch()
throws Exception
- Throws:
Exception
testOneToManyElementFunctionInWhere
public void testOneToManyElementFunctionInWhere()
throws Exception
- Throws:
Exception
testManyToManyInJoin
public void testManyToManyInJoin()
throws Exception
- Throws:
Exception
testManyToManyInSubselect
public void testManyToManyInSubselect()
throws Exception
- Throws:
Exception
testOneToManyIndexAccess
public void testOneToManyIndexAccess()
throws Exception
- Throws:
Exception
testImpliedSelect
public void testImpliedSelect()
throws Exception
- Throws:
Exception
testVectorSubselect
public void testVectorSubselect()
testWierdSubselectImplicitJoinStuff
public void testWierdSubselectImplicitJoinStuff()
testCollectionsInSelect2
public void testCollectionsInSelect2()
throws Exception
- Throws:
Exception
testAssociationPropertyWithoutAlias
public void testAssociationPropertyWithoutAlias()
throws Exception
- Throws:
Exception
testComponentNoAlias
public void testComponentNoAlias()
throws Exception
- Throws:
Exception
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.