org.hibernate.test.jpa.ql
Class JPAQLComplianceTest

java.lang.Object
  extended by org.hibernate.testing.junit4.BaseUnitTestCase
      extended by org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
          extended by org.hibernate.test.jpa.AbstractJPATest
              extended by org.hibernate.test.jpa.ql.JPAQLComplianceTest

public class JPAQLComplianceTest
extends AbstractJPATest

Tests for various JPAQL compliance issues


Nested Class Summary
 
Nested classes/interfaces inherited from class org.hibernate.test.jpa.AbstractJPATest
AbstractJPATest.JPAAutoFlushEventListener, AbstractJPATest.JPAFlushEntityEventListener, AbstractJPATest.JPAFlushEventListener, AbstractJPATest.JPAPersistEventListener, AbstractJPATest.JPAPersistOnFlushEventListener
 
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
JPAQLComplianceTest()
           
 
Method Summary
 void testAliasNameSameAsUnqualifiedEntityName()
           
 void testGeneratedSubquery()
           
 void testIdentifierCaseSensitive()
           
 void testIdentifierCasesensitivityAndDuplicateFromElements()
           
 void testOrderByAlias()
           
 
Methods inherited from class org.hibernate.test.jpa.AbstractJPATest
buildAutoFlushEventListeners, buildFlushEntityEventListeners, buildFlushEventListeners, buildPersisOnFlushEventListeners, buildPersistEventListeners, configure, getCacheConcurrencyStrategy, getMappings, prepareBootstrapRegistryBuilder
 
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, getDialect, getXmlFiles, onFailure, openSession, openSession, overrideCacheStrategy, prepareBasicRegistryBuilder, 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

JPAQLComplianceTest

public JPAQLComplianceTest()
Method Detail

testAliasNameSameAsUnqualifiedEntityName

public void testAliasNameSameAsUnqualifiedEntityName()

testIdentifierCaseSensitive

public void testIdentifierCaseSensitive()
                                 throws Exception
Throws:
Exception

testIdentifierCasesensitivityAndDuplicateFromElements

public void testIdentifierCasesensitivityAndDuplicateFromElements()
                                                           throws Exception
Throws:
Exception

testGeneratedSubquery

public void testGeneratedSubquery()

testOrderByAlias

public void testOrderByAlias()


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