This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes isolation level in JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "isolation level in JDBC" Watch "isolation level in JDBC" New topic
Author

isolation level in JDBC

Suhem Programmer
Greenhorn

Joined: Feb 13, 2007
Posts: 21
Hi,

I would appreciate if anybody could explain me where and how can I declare isolation levels in JDBC.

TRANSACTION_READ_UNCOMMITTED

TRANSACTION_READ_COMMITTED

TRANSACTION_REPEATABLE_READ

TRANSACTION_SERIALIZABLE

Thanks,
Suhem
Kevin Smither
Ranch Hand

Joined: Oct 22, 2007
Posts: 30
did you check the JDBC API? It is on the connection object...

connection.setTransactionIsolation()
Suhem Programmer
Greenhorn

Joined: Feb 13, 2007
Posts: 21
Hi Kevin,

Got my answer thanks a lot for the reply.

Thanks,
Suhem
 
wood burning stoves
 
subject: isolation level in JDBC
 
It's not a secret anymore!