org.hibernate.ejb.test.ops
Class PersistTest

java.lang.Object
  extended by org.hibernate.testing.junit4.BaseUnitTestCase
      extended by org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase
          extended by org.hibernate.ejb.test.ops.PersistTest

public class PersistTest
extends org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase


Field Summary
 
Fields inherited from class org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase
NO_CLASSES, NO_MAPPINGS
 
Constructor Summary
PersistTest()
           
 
Method Summary
protected  void addConfigOptions(Map options)
           
protected  Class<?>[] getAnnotatedClasses()
           
protected  String[] getMappings()
           
 void testBasic()
           
 void testCreateException()
           
 void testCreateExceptionWithGeneratedId()
           
 void testCreateTree()
           
 void testCreateTreeWithGeneratedId()
           
 
Methods inherited from class org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase
addMappings, afterConfigurationBuilt, afterEntityManagerFactoryBuilt, applyServices, buildConfiguration, buildEntityManagerFactory, constructConfiguration, createEntityManager, createIsolatedEntityManager, createIsolatedEntityManager, createSchema, entityManagerFactory, getCachedClasses, getCachedCollections, getConfig, getDialect, getEjb3DD, getOrCreateEntityManager, releaseResources, serviceRegistry
 
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

PersistTest

public PersistTest()
Method Detail

testCreateTree

public void testCreateTree()

testCreateTreeWithGeneratedId

public void testCreateTreeWithGeneratedId()

testCreateException

public void testCreateException()

testCreateExceptionWithGeneratedId

public void testCreateExceptionWithGeneratedId()

testBasic

public void testBasic()
               throws Exception
Throws:
Exception

addConfigOptions

protected void addConfigOptions(Map options)
Overrides:
addConfigOptions in class org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase

getAnnotatedClasses

protected Class<?>[] getAnnotatedClasses()
Overrides:
getAnnotatedClasses in class org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase

getMappings

protected String[] getMappings()
Overrides:
getMappings in class org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase


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