org.hibernate.test.annotations.id.sequences
Class IdTest

java.lang.Object
  extended by org.hibernate.testing.junit4.BaseUnitTestCase
      extended by org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
          extended by org.hibernate.test.annotations.id.sequences.IdTest

public class IdTest
extends BaseCoreFunctionalTestCase


Nested Class Summary
 
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
IdTest()
           
 
Method Summary
protected  Class[] getAnnotatedClasses()
           
protected  String[] getAnnotatedPackages()
           
protected  String[] getXmlFiles()
           
 void testClassLevelGenerator()
           
 void testColumnDefinition()
           
 void testDefaultSequence()
           
 void testGenericGenerator()
           
 void testGenericGenerators()
           
 void testIdClass()
           
 void testIdInEmbeddableSuperclass()
           
 void testLowAllocationSize()
           
 void testMethodLevelGenerator()
           
 void testParameterizedAuto()
           
 void testSequenceGenerator()
           
 void testTableGenerator()
           
 
Methods inherited from class org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
addMappings, addMappings, afterConfigurationBuilt, afterConfigurationBuilt, afterSessionFactoryBuilt, afterTest, applyCacheSettings, assertAllDataRemoved, beforeTest, buildConfiguration, buildServiceRegistry, cleanupCache, cleanupTest, configuration, configure, constructConfiguration, createSchema, generateBootstrapRegistry, getBaseForMappings, getCacheConcurrencyStrategy, getDialect, getMappings, 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

IdTest

public IdTest()
Method Detail

testGenericGenerator

public void testGenericGenerator()
                          throws Exception
Throws:
Exception

testGenericGenerators

public void testGenericGenerators()
                           throws Exception
Throws:
Exception

testTableGenerator

public void testTableGenerator()
                        throws Exception
Throws:
Exception

testSequenceGenerator

public void testSequenceGenerator()
                           throws Exception
Throws:
Exception

testClassLevelGenerator

public void testClassLevelGenerator()
                             throws Exception
Throws:
Exception

testMethodLevelGenerator

public void testMethodLevelGenerator()
                              throws Exception
Throws:
Exception

testDefaultSequence

public void testDefaultSequence()
                         throws Exception
Throws:
Exception

testParameterizedAuto

public void testParameterizedAuto()
                           throws Exception
Throws:
Exception

testIdInEmbeddableSuperclass

public void testIdInEmbeddableSuperclass()
                                  throws Exception
Throws:
Exception

testIdClass

public void testIdClass()
                 throws Exception
Throws:
Exception

testColumnDefinition

public void testColumnDefinition()

testLowAllocationSize

public void testLowAllocationSize()
                           throws Exception
Throws:
Exception

getAnnotatedClasses

protected Class[] getAnnotatedClasses()
Overrides:
getAnnotatedClasses in class BaseCoreFunctionalTestCase

getAnnotatedPackages

protected String[] getAnnotatedPackages()
Overrides:
getAnnotatedPackages in class BaseCoreFunctionalTestCase

getXmlFiles

protected String[] getXmlFiles()
Overrides:
getXmlFiles in class BaseCoreFunctionalTestCase


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