A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Joined: Oct 08, 2008
Dec 29, 2009 10:07:11
I have an MDB in place for which the transaction attribute in deployment descriptor is set to "Not Supported" and the transaction is CMT and I have used ejbContext.setRollbackOnly() method in that mdb
I am getting below exception
Exception: ; nested exception is:
After some debugging i found that for CMT bean when transaction attribute is set to "Not Supported" and if you use ejbContext.setRollbackOnly() then in this scenario we get
But In my case i didnt got IllegalstateException exception whereas I got EJB Exception: ; nested exception is:
Let me know whether this Out-Of-memory exception can occur if we use ejbContext.setRollbackOnly()
Thanks in Advance
Don't get me started about those stupid
subject: EJB Exception
EJB 3.0 Transaction Question
Doubts in Enthuware mock Questions
Question about Transactions in EJB / MDB scenario
Big doubt! Spec Page 361 -- IllegalStateException for Supports attribute.
Topic: Big doubt! Spec Page 361 -- IllegalStateException for Supports attribute.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014