posted 16 years ago
Hi all,
so im going through the oreilly ejb3 book preparing for the exam. In the book it is said that if you call find,getReference,refresh or merge methods on an EntityManager instance that is transaction scoped, it will throw a TransactionRequired Exception. But the default value for @TransactionAttribute is always REUIRED yea? and i tried it out and calling those methods on a transaction scoped context didnt throw any exceptions. Why is it said so?
Any comments on this is greatly appreciated.
Regards,
Dinuka
if who i am is what i have, and what i have is lost, then who am i?<br /> <br />SCJP 5.0<br />SCWCD 1.4<br />SCBCD preparing