org.hibernate.test.hql
Class ASTParserLoadingTest
java.lang.Object
org.hibernate.testing.junit4.BaseUnitTestCase
org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
org.hibernate.test.hql.ASTParserLoadingTest
public class ASTParserLoadingTest
- extends BaseCoreFunctionalTestCase
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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASTParserLoadingTest
public ASTParserLoadingTest()
getMappings
public String[] getMappings()
- Overrides:
getMappings
in class BaseCoreFunctionalTestCase
configure
public void configure(Configuration cfg)
- Overrides:
configure
in class BaseCoreFunctionalTestCase
testSubSelectAsArithmeticOperand
public void testSubSelectAsArithmeticOperand()
testJpaTypeOperator
public void testJpaTypeOperator()
testComponentJoins
public void testComponentJoins()
testJPAQLQualifiedIdentificationVariablesControl
public void testJPAQLQualifiedIdentificationVariablesControl()
testJPAQLQualifiedIdentificationVariables
public void testJPAQLQualifiedIdentificationVariables()
testPaginationWithPolymorphicQuery
public void testPaginationWithPolymorphicQuery()
testComponentNullnessChecks
public void testComponentNullnessChecks()
testInvalidCollectionDereferencesFail
public void testInvalidCollectionDereferencesFail()
testConcatenation
public void testConcatenation()
testExpressionWithParamInFunction
public void testExpressionWithParamInFunction()
testCrazyIdFieldNames
public void testCrazyIdFieldNames()
testImplicitJoinsInDifferentClauses
public void testImplicitJoinsInDifferentClauses()
testRowValueConstructorSyntaxInInList
public void testRowValueConstructorSyntaxInInList()
testImplicitSelectEntityAssociationInShallowQuery
public void testImplicitSelectEntityAssociationInShallowQuery()
testUnaryMinus
public void testUnaryMinus()
testEntityAndOneToOneReturnedByQuery
public void testEntityAndOneToOneReturnedByQuery()
testNestedComponentIsNull
public void testNestedComponentIsNull()
testSpecialClassPropertyReference
public void testSpecialClassPropertyReference()
testSpecialClassPropertyReferenceFQN
public void testSpecialClassPropertyReferenceFQN()
testSubclassOrSuperclassPropertyReferenceInJoinedSubclass
public void testSubclassOrSuperclassPropertyReferenceInJoinedSubclass()
testSimpleSelectWithLimitAndOffset
public void testSimpleSelectWithLimitAndOffset()
throws Exception
- Throws:
Exception
testJPAPositionalParameterList
public void testJPAPositionalParameterList()
testComponentQueries
public void testComponentQueries()
testComponentParameterBinding
public void testComponentParameterBinding()
testAnyMappingReference
public void testAnyMappingReference()
testJdkEnumStyleEnumConstant
public void testJdkEnumStyleEnumConstant()
throws Exception
- Throws:
Exception
testParameterTypeMismatch
public void testParameterTypeMismatch()
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 Exception
- Throws:
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()
testOrderedWithCustomColumnReadAndWrite
public void testOrderedWithCustomColumnReadAndWrite()
testHavingWithCustomColumnReadAndWrite
public void testHavingWithCustomColumnReadAndWrite()
testLoadSnapshotWithCustomColumnReadAndWrite
public void testLoadSnapshotWithCustomColumnReadAndWrite()
testCastInSelect
public void testCastInSelect()
testNumericExpressionReturnTypes
public void testNumericExpressionReturnTypes()
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 Throwable
- Throws:
Throwable
testManyToManyFilter
public void testManyToManyFilter()
throws Throwable
- Throws:
Throwable
testFilterWithCustomColumnReadAndWrite
public void testFilterWithCustomColumnReadAndWrite()
testSelectExpressions
public void testSelectExpressions()
testImplicitJoin
public void testImplicitJoin()
throws Exception
- Throws:
Exception
testFromOnly
public void testFromOnly()
throws Exception
- Throws:
Exception
testSimpleSelect
public void testSimpleSelect()
throws Exception
- Throws:
Exception
testEntityPropertySelect
public void testEntityPropertySelect()
throws Exception
- Throws:
Exception
testWhere
public void testWhere()
throws Exception
- Throws:
Exception
testEntityFetching
public void testEntityFetching()
throws Exception
- Throws:
Exception
testCollectionFetching
public void testCollectionFetching()
throws Exception
- Throws:
Exception
testJoinFetchedCollectionOfJoinedSubclass
public void testJoinFetchedCollectionOfJoinedSubclass()
throws Exception
- Throws:
Exception
testJoinedCollectionOfJoinedSubclass
public void testJoinedCollectionOfJoinedSubclass()
throws Exception
- Throws:
Exception
testJoinedCollectionOfJoinedSubclassProjection
public void testJoinedCollectionOfJoinedSubclassProjection()
throws Exception
- Throws:
Exception
testProjectionQueries
public void testProjectionQueries()
throws Exception
- Throws:
Exception
testStandardFunctions
public void testStandardFunctions()
throws Exception
- Throws:
Exception
testDynamicInstantiationQueries
public void testDynamicInstantiationQueries()
throws Exception
- Throws:
Exception
testCachedJoinedAndJoinFetchedManyToOne
public void testCachedJoinedAndJoinFetchedManyToOne()
throws Exception
- Throws:
Exception
testCachedJoinedAndJoinFetchedOneToMany
public void testCachedJoinedAndJoinFetchedOneToMany()
throws Exception
- Throws:
Exception
testIllegalMixedTransformerQueries
public void testIllegalMixedTransformerQueries()
testResultTransformerScalarQueries
public void testResultTransformerScalarQueries()
throws Exception
- Throws:
Exception
testResultTransformerEntityQueries
public void testResultTransformerEntityQueries()
throws Exception
- Throws:
Exception
testEJBQLFunctions
public void testEJBQLFunctions()
throws Exception
- Throws:
Exception
testSubqueryAsSingularValueExpression
public void testSubqueryAsSingularValueExpression()
testExistsSubquery
public void testExistsSubquery()
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.