org.hibernate.test.annotations
Class EntityTest

java.lang.Object
  extended by org.hibernate.testing.junit4.BaseUnitTestCase
      extended by org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
          extended by org.hibernate.test.annotations.EntityTest

public class EntityTest
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
EntityTest()
           
 
Method Summary
protected  boolean createSchema()
           
protected  Class[] getAnnotatedClasses()
           
 void runCreateSchema()
           
 void runDropSchema()
           
 void testBasic()
           
 void testColumn()
           
 void testColumnUnique()
           
 void testEntityName()
           
 void testFieldAccess()
           
 void testLoad()
           
 void testNonGetter()
           
 void testTemporalType()
           
 void testUniqueConstraint()
           
 void testVersion()
           
 
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, generateBootstrapRegistry, getAnnotatedPackages, getBaseForMappings, getCacheConcurrencyStrategy, getDialect, getMappings, getXmlFiles, 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

EntityTest

public EntityTest()
Method Detail

testLoad

public void testLoad()
              throws Exception
Throws:
Exception

testColumn

public void testColumn()
                throws Exception
Throws:
Exception

testColumnUnique

public void testColumnUnique()
                      throws Exception
Throws:
Exception

testUniqueConstraint

public void testUniqueConstraint()
                          throws Exception
Throws:
Exception

testVersion

public void testVersion()
                 throws Exception
Throws:
Exception

testFieldAccess

public void testFieldAccess()
                     throws Exception
Throws:
Exception

testEntityName

public void testEntityName()
                    throws Exception
Throws:
Exception

testNonGetter

public void testNonGetter()
                   throws Exception
Throws:
Exception

testTemporalType

public void testTemporalType()
                      throws Exception
Throws:
Exception

testBasic

public void testBasic()
               throws Exception
Throws:
Exception

getAnnotatedClasses

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

createSchema

protected boolean createSchema()
Overrides:
createSchema in class BaseCoreFunctionalTestCase

runCreateSchema

public void runCreateSchema()

runDropSchema

public void runDropSchema()


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