[jboss-jira] [JBoss JIRA] (AG-110) Support non-standard transaction isolation levels
Rich DiCroce (Jira)
issues at jboss.org
Wed Mar 13 15:52:00 EDT 2019
Rich DiCroce created AG-110:
-------------------------------
Summary: Support non-standard transaction isolation levels
Key: AG-110
URL: https://issues.jboss.org/browse/AG-110
Project: Agroal
Issue Type: Enhancement
Reporter: Rich DiCroce
Assignee: Luis Barreiro
Some databases support non-standard transaction isolation levels. For example, MS SQL Server has a SNAPSHOT isolation level. Agroal currently can't support this via the transaction isolation level config option because TransactionIsolation is an enum, so it can't have custom values. It would be nice if this were supported. WildFly's "old" datasources subsystem already supports non-standard isolation levels, so it would be nice if the Agroal subsystem had parity.
There is a workaround, at least on MS SQL Server. initialSql (new-connection-sql in WildFly) can be used to execute "SET TRANSACTION ISOLATION LEVEL SNAPSHOT" when the connection is created.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list