Need to unit test some Command classes that access EJB2.0 CMRs, hence need to execute them from within a transaction.
0 posts in topic
Flat View  Flat View

Posted By:   Karthik_G
Posted On:   Thursday, March 27, 2003 11:35 PM

EJB2.0 does not allow me to access Container managed relationship outside a transaction.

W'd writing a test decorator help here??
I mean am trying to understand TestDecorator class and was wondering if i can start a transaction before running the decorated test (and end it after running the test) inside the decorator. So that the users of test framework can use it if they want transaction manager access.

About | Sitemap | Contact