This content has been marked as final.
Show 1 reply
-
1. Re: How to set Isolation Level in EJB 3.0 (CMP)
weston.price Dec 14, 2006 1:13 AM (in response to harisharma)The only way to effectively do this would be to set the
<transaction-isolation></transaction-isolation>
property in your *-ds.xml file. Unfortunately, this will be applicable to *all* connections used/created by EJB3 that use that datasource. EJB3 provides no way to acquire the underlying connection used by the EntityManager and as a result you will not be able to set this property dynamically.