• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Setting BEA Transaction isolation level

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to BEA Weblogic forum...
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1327
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic