EasyBeans is an open source implementation by ObjectWeb of the EJB3 container specification. 
X Wiki
  History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: EZB-64
Type: Task Task
Status: Open Open
Priority: Major Major
Assignee: Florent BENOIT
Reporter: Eduardo S.E. de Castro
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
EasyBeans

The container must provides a transaction for external interceptors in CMT beans when the "Required" type is used.

Created: 26/Jul/06 05:32 PM   Updated: 01/May/08 08:06 PM
Component/s: APIs
Affects Version/s: EasyBeans 1.0 M1, EasyBeans 1.0 M2
Fix Version/s: None


 Description  « Hide
 The PostActivate and PreDestroy lifecycle event callbacks with container-managed transaction demarcation must have a transaction if the "Required" type is used. However, when an interceptor class with a tries to use the EntityManager, the exception "javax.persistence.TransactionRequiredException: no transaction is in progress" is thrown.
 The container must provides a transaction.
Reference: EJB 3.0 Core Specification - 12.4
Available tests: org.objectweb.easybeans.tests.interceptors.lifecycle.stateful.containermanaged.TestSFCallbackAccess00.test00
org.objectweb.easybeans.tests.interceptors.lifecycle.stateful.containermanaged.TestSFCallbackAccess00.test01

 All   Comments   Change History   Related Builds   Subversion Commits      Sort Order:
Florent BENOIT - 01/May/08 08:06 PM
delayed


Copyright © 2006-2007 EasyBeans / ObjectWeb consortium

http://www.easybeans.org