When accessing a data source using application code, such
as a JSP or servlet running in the Web container, there are fewer options
to change the transaction isolation level for the connection than when
using an EJB™. To change the transaction isolation level for a JSP or
servlet, you must insert a setTransactionIsolationLevel(value) in
the code immediately after the getConnection(value).
This is also true for setIsolationLevel().
For more information about isolation levels and their effects, refer to
the "Isolation Levels" section in the WebSphere Application Server Tuning
Guide at:
http://www-306.ibm.com/software/webservers/appserv/doc/v40/ae/infocenter/was/0901.html
|