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

Jesper Pedersen (JIRA) jira-events at lists.jboss.org
Tue Aug 27 10:09:26 EDT 2013


Jesper Pedersen created JBJCA-1072:
--------------------------------------

             Summary: 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