Can I set the JDBC isolation level from a Tomcat Context?

前端 未结 2 1806
孤城傲影
孤城傲影 2021-01-14 09:25

I have a web application running in Tomcat 6, and I\'ve managed to configure it to use the built-in DBCP connection pooling, and all is working very well, however I suspect

2条回答
  •  青春惊慌失措
    2021-01-14 09:51

    I was looking for snapshot isolation level. The setting which was reported correctly by the database server was

    defaultTransactionIsolation="4096"

    You may confirm by a query to sys.dm_exec_sessions which should report transaction_isolation_level = 5. Hope it helps someone.

提交回复
热议问题