Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Is it possible to annotate a method with @TransactionAttribute in BMT EJB?  RSS feed

 
Vinay Kejriwal
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I came across a piece of code where the bean implementation class has @TransactionManagement(TransactionManagementType.BEAN) annotation wherein methods are annotated with CMT @TransactionAttribute. Is is valid? I am puzzled?
Can an EJB with BMT persistence use CMT transaction annotation? What will be the behavior at runtime?



Thanks in advance.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!