[jboss-jira] [JBoss JIRA] (JBJCA-1072) Destroy ManagedConnection after use

Jeff Zhang (JIRA) jira-events at lists.jboss.org
Tue Sep 3 22:45:03 EDT 2013


     [ https://issues.jboss.org/browse/JBJCA-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Zhang resolved JBJCA-1072.
-------------------------------

    Resolution: Done

    
> Destroy ManagedConnection after use
> -----------------------------------
>
>                 Key: JBJCA-1072
>                 URL: https://issues.jboss.org/browse/JBJCA-1072
>             Project: IronJacamar
>          Issue Type: Bug
>          Components: AS
>    Affects Versions: 1.1.0.Final
>            Reporter: Jesper Pedersen
>            Assignee: Jeff Zhang
>             Fix For: 1.1.1.Final
>
>
> The RAR info tool must destroy any ManagedConnection after use.
> {noformat}
> ManagedConnection mc = null;
> try
> {
>   mc = ...
> }
> catch (Exception e)
> {
> }
> finally
> {
>    if (mc != null)
>       mc.destroy();
> }
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list