Discussions
EJB programming & troubleshooting: How to set the isolation level of transaction in EJB?
-
How to set the isolation level of transaction in EJB? (4 messages)
- Posted by: Daniel X
- Posted on: April 28 2006 05:50 EDT
Who know how I can check and set the isolation level (e.g., TX_serializable) of transactions in EJB?Threaded Messages (4)
- How to set the isolation level of transaction in EJB? by Debashish Ghosh on April 28 2006 18:14 EDT
- I am using SUN's deploytool to make settings by Daniel X on May 02 2006 20:28 EDT
- Re: I am using SUN's deploytool to make settings by abhishek bhargava on May 15 2006 05:30 EDT
- I am using SUN's deploytool to make settings by Daniel X on May 02 2006 20:28 EDT
- How to set the isolation level of transaction in EJB? by abhishek bhargava on April 29 2006 15:23 EDT
-
How to set the isolation level of transaction in EJB?[ Go to top ]
- Posted by: Debashish Ghosh
- Posted on: April 28 2006 18:14 EDT
- in response to Daniel X
U can see the Isolation level in the deployment descriptor xml file and also can set it by changing the same. If you are using some kind of IDE it can be done by bean properties . -
I am using SUN's deploytool to make settings[ Go to top ]
- Posted by: Daniel X
- Posted on: May 02 2006 20:28 EDT
- in response to Debashish Ghosh
What I am using is SUN's deploytool, but I was unable to find the place to set the transaction isolation level. Could you tell me how to set it? -
Re: I am using SUN's deploytool to make settings[ Go to top ]
- Posted by: abhishek bhargava
- Posted on: May 15 2006 05:30 EDT
- in response to Daniel X
You cannot set it via deploytool since it is not the part of the deployment descriptor. You will have to set it manually inside your java classes. -
How to set the isolation level of transaction in EJB?[ Go to top ]
- Posted by: abhishek bhargava
- Posted on: April 29 2006 15:23 EDT
- in response to Daniel X
You can manually set the isolation level for a particular transaction by using setTransactionIsolation() and specifying the level you want.