This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes EJB isolation level Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "EJB isolation level" Watch "EJB isolation level" New topic

EJB isolation level

lavanya Ananth
Ranch Hand

Joined: Apr 04, 2005
Posts: 40
Hi ,

I have a question on EJB isolation level TRANSACTION_READ_COMMITTED_FOR_UPDATE. My EJB has this isolation level and the oracle database i am connecting to has a default isolation level of READ_COMMITTED.

This EJB is used to generate a sequence. I sometimes encounter concurrency problems in that when two users request for a sequence number for the same TABLE , it ends up giving the same sequence number to both the calls.

How do I reslove this issue?

I would appreciate any inputs .

I agree. Here's the link:
subject: EJB isolation level