The moose likes BEA/Weblogic and the fly likes Setting BEA Transaction isolation level Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Setting BEA Transaction isolation level" Watch "Setting BEA Transaction isolation level" New topic

Setting BEA Transaction isolation level

sathish sathish

Joined: Feb 26, 2004
Posts: 6
Hello All
What will happen if higher transaction isolation level is set for EJB while deploying, than the transaction isolation level set in the corresponding Data source(DB)??
But the Data source supports the transaction isolation level setting set.
I am using Weblogic 8.1 sp1
Waiting for ur replies
Vishwa Kumba
Ranch Hand

Joined: Aug 27, 2003
Posts: 1066
The idea of the vendor supporting isolation-levels is to override the isolation level provided by the database.I do not know the specific answer to ur question, but I guess there was enough documentation about changing isolation-levels and their impact, atleast in the weblogic 5.1 docs.
If you try the weblogic forum, you are likely to get more answers...
Ajith Kallambella

Joined: Mar 17, 2000
Posts: 5782
Moving to BEA Weblogic forum...

Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Dilip Karki

Joined: Apr 20, 2004
Posts: 20
So you have an isolation level set on your DB and you have isolation levels on your EJBs. I think WebLogic internally sets the isolation level on the connection used. This is also something you can do if you write direct JDBC code using the Connection object. This over-riding of isolation levels appears to be standard.
So I think you should be fine. In case, no isolation level is applied at the application level, the default (database) isolation level holds.

BEA Certified WebLogic Server Specialist.<br />Author of Whizlabs Weblogic 7.0 Simulator:<br /><a href="" target="_blank" rel="nofollow"></a><p>Moderator of Whizlabs Weblogic Certification forum:<br /><a href="" target="_blank" rel="nofollow"></a>
Billy Tsai
Ranch Hand

Joined: May 23, 2003
Posts: 1304
Hi I would like to Obtain UserTransaction in the session facade to handle the transaction for enterprise bean in client side instead of using BMP by writing transaction codes in enterprise bean for Weblogic8.1,
I tried to obtain the javax.transaction.Usertransaction using context.lookup but i can not get it by got an Security exception instead in the ctx.lookup code in the facade it said can't load java.lang package with Classloader, anyone know how to obtain the UserTransaction (JTA) object from Weblogic so I can handle transactions programmatically in the client side ?
Thank you

BEA 8.1 Certified Administrator, IBM Certified Solution Developer For XML 1.1 and Related Technologies, SCJP, SCWCD, SCBCD, SCDJWS, SCJD, SCEA,
Oracle Certified Master Java EE 5 Enterprise Architect
I agree. Here's the link:
subject: Setting BEA Transaction isolation level
It's not a secret anymore!