| |
|
| org.apache.geronimo.transaction.jpa.CMPEntityManagerTest
CMPEntityManagerTest | public class CMPEntityManagerTest extends TestCase (Code) | | version: $Rev: 476049 $ $Date: 2006-11-16 20:35:17 -0800 (Thu, 16 Nov 2006) $ |
testAppCallsCloseForbidden | public void testAppCallsCloseForbidden() throws Exception(Code) | | section 5.9.1
application must not call close on its entityManager
|
testCloseOnCommit | public void testCloseOnCommit() throws Exception(Code) | | section 5.9.1
close or cleared is called when tx commits
|
testExtendedClosedOnBeanRemove | public void testExtendedClosedOnBeanRemove() throws Exception(Code) | | section 5.6.2
extended context is closed when the SFSB that caused it is removed
|
testExtendedEntityManagerJoinsNewTransactions | public void testExtendedEntityManagerJoinsNewTransactions() throws Exception(Code) | | section 5.9.1
when a SFSB/extended context starts a UserTransaction or a CMT tx starts the EM must join the transaction
|
testGetTransaction | public void testGetTransaction() throws Exception(Code) | | section 3.1.1
(not very clear). getTransaction, joinTransaction throw IllegalStateException
|
testInheritedExtendedClosedOnBeanRemove | public void testInheritedExtendedClosedOnBeanRemove() throws Exception(Code) | | section 5.6.2.1
extended context is closed when the SFSB that caused it and all others that share it are removed
|
testIsOpen | public void testIsOpen() throws Exception(Code) | | section 3.1.1 ????
isOpen returns true
|
testJoinTransaction | public void testJoinTransaction() throws Exception(Code) | | |
testNoSimultaneousEntityManagers | public void testNoSimultaneousEntityManagers() throws Exception(Code) | | section 5.6.3.1
Trying to propagate a JTA tx with a persistence context bound into a SFSB with Extended persistence context
results in an EJBException
|
testSamePersistenceContext | public void testSamePersistenceContext() throws Exception(Code) | | section 5.8.2
use the same persistence context for all work in a tx
|
testTransactionRequired | public void testTransactionRequired() throws Exception(Code) | | section 5.9.1
transaction required for persist, remove, merge, refresh
|
|
|
|