[jboss-jira] [JBoss JIRA] (WFLY-3923) Option for suppressing thread interruption during JDBC driver operations

David Lloyd (JIRA) issues at jboss.org
Mon May 7 14:11:00 EDT 2018


    [ https://issues.jboss.org/browse/WFLY-3923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13572277#comment-13572277 ] 

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)


More information about the jboss-jira mailing list