This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff 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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: isolation level in JDBC