org.hibernate.ejb.test.lock
Class LockTest

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

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


Field Summary
 
Fields inherited from class org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase
NO_CLASSES, NO_MAPPINGS
 
Constructor Summary
LockTest()
           
 
Method Summary
 Class[] getAnnotatedClasses()
           
 void testContendedPessimisticLock()
           
 void testContendedPessimisticReadLockTimeout()
           
 void testContendedPessimisticWriteLockNoWait()
           
 void testContendedPessimisticWriteLockTimeout()
           
 void testFindWithTimeoutHint()
           
 void testLockOptimistic()
           
 void testLockOptimisticForceIncrement()
           
 void testLockOptimisticForceIncrementDifferentEm()
           
 void testLockPessimisticForceIncrement()
           
 void testLockRead()
           
 void testLockTimeoutEMProps()
           
 void testLockWrite()
           
 void testLockWriteOnUnversioned()
           
 void testQueryTimeout()
           
 void testQueryTimeoutEMProps()
           
 
Methods inherited from class org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase
addConfigOptions, 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

LockTest

public LockTest()
Method Detail

testFindWithTimeoutHint

public void testFindWithTimeoutHint()

testLockRead

public void testLockRead()
                  throws Exception
Throws:
Exception

testLockOptimistic

public void testLockOptimistic()
                        throws Exception
Throws:
Exception

testLockWrite

public void testLockWrite()
                   throws Exception
Throws:
Exception

testLockWriteOnUnversioned

public void testLockWriteOnUnversioned()
                                throws Exception
Throws:
Exception

testLockPessimisticForceIncrement

public void testLockPessimisticForceIncrement()
                                       throws Exception
Throws:
Exception

testLockOptimisticForceIncrement

public void testLockOptimisticForceIncrement()
                                      throws Exception
Throws:
Exception

testLockOptimisticForceIncrementDifferentEm

public void testLockOptimisticForceIncrementDifferentEm()
                                                 throws Exception
Throws:
Exception

testContendedPessimisticLock

public void testContendedPessimisticLock()
                                  throws Exception
Throws:
Exception

testContendedPessimisticReadLockTimeout

public void testContendedPessimisticReadLockTimeout()
                                             throws Exception
Throws:
Exception

testContendedPessimisticWriteLockTimeout

public void testContendedPessimisticWriteLockTimeout()
                                              throws Exception
Throws:
Exception

testContendedPessimisticWriteLockNoWait

public void testContendedPessimisticWriteLockNoWait()
                                             throws Exception
Throws:
Exception

testQueryTimeout

public void testQueryTimeout()
                      throws Exception
Throws:
Exception

testQueryTimeoutEMProps

public void testQueryTimeoutEMProps()
                             throws Exception
Throws:
Exception

testLockTimeoutEMProps

public void testLockTimeoutEMProps()
                            throws Exception
Throws:
Exception

getAnnotatedClasses

public Class[] getAnnotatedClasses()
Overrides:
getAnnotatedClasses in class org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase


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