• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setting BEA Transaction isolation level

 
sathish sathish
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1066
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to BEA Weblogic forum...
 
Dilip Karki
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Billy Tsai
Ranch Hand
Posts: 1304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic