org.hibernate.ejb.test.lock
Class QueryLockingTest

java.lang.Object
  extended by org.hibernate.testing.junit4.BaseUnitTestCase
      extended by org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase
          extended by org.hibernate.ejb.test.lock.QueryLockingTest

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


Field Summary
 
Fields inherited from class org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase
NO_CLASSES, NO_MAPPINGS
 
Constructor Summary
QueryLockingTest()
           
 
Method Summary
protected  void addConfigOptions(Map options)
           
protected  Class<?>[] getAnnotatedClasses()
           
 void testOptimisticForcedIncrementOverall()
           
 void testOptimisticForcedIncrementSpecific()
           
 void testOptimisticOverall()
           
 void testOptimisticSpecific()
           
 void testOverallLockMode()
           
 void testPessimisticForcedIncrementOverall()
           
 void testPessimisticForcedIncrementSpecific()
           
 
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, getMappings, 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

QueryLockingTest

public QueryLockingTest()
Method Detail

getAnnotatedClasses

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

addConfigOptions

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

testOverallLockMode

public void testOverallLockMode()

testPessimisticForcedIncrementOverall

public void testPessimisticForcedIncrementOverall()

testPessimisticForcedIncrementSpecific

public void testPessimisticForcedIncrementSpecific()

testOptimisticForcedIncrementOverall

public void testOptimisticForcedIncrementOverall()

testOptimisticForcedIncrementSpecific

public void testOptimisticForcedIncrementSpecific()

testOptimisticOverall

public void testOptimisticOverall()

testOptimisticSpecific

public void testOptimisticSpecific()


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