[
https://issues.jboss.org/browse/WFLY-3923?page=com.atlassian.jira.plugin....
]
David Lloyd commented on WFLY-3923:
-----------------------------------
We could combine this idea with an InterruptHandler which causes the in-progress Statement
to be cancelled. It could be configurable: interrupt could do nothing, be passed through,
or cause cancel (where applicable).
Option for suppressing thread interruption during JDBC driver
operations
------------------------------------------------------------------------
Key: WFLY-3923
URL:
https://issues.jboss.org/browse/WFLY-3923
Project: WildFly
Issue Type: Enhancement
Components: JCA
Reporter: David Lloyd
Assignee: Jesper Pedersen
The data source and JCA subsystems should provide a facility to suppress thread
interruption during driver operations. The data source attribute should have values
"on", "off", and "auto", where "auto" indicates
that the subsystem should make a decision based on the driver.
A list of drivers which are known to fail in the presence of interruption is
forthcoming.
A facility in JBoss Threads to suppress interruption for the duration of a task is
forthcoming.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)