LeTay
asked on
DB2 isolation level with JDBC
What are the way(s) to change the isolation level accessing a DB2 database via the JDBC driver ?
ASKER
I was told that I can also change the db2cli.ini file
Is this true ?
What do I have to put there ?
Do you have a sample ?
Is this true ?
What do I have to put there ?
Do you have a sample ?
ASKER
I forgot to mention : the application can access DB2 or Oracle or mySQL (depends on our customer needs) so better to have the isolation level specified "outside" the code of the application
Hi LeTay,
Depending on the client that you're using to access DB2, you can also change the default isolation level.
SET ISOLATION LEVEL UR/CS/etc.
Kent
Depending on the client that you're using to access DB2, you can also change the default isolation level.
SET ISOLATION LEVEL UR/CS/etc.
Kent
ASKER
We use JDBC
I think that I have to modify db2cli.ini
I think that I have to modify db2cli.ini
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
select * FROM mytable with CS
select * from mytable with UR