[jboss-jira] [JBoss JIRA] Updated: (JBAS-3813) BaseWrapperManagedConnectionFactory.isStaleConnection creates new class instance every call

Jesper Pedersen (JIRA) jira-events at lists.jboss.org
Fri Aug 8 08:07:50 EDT 2008


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

Jesper Pedersen updated JBAS-3813:
----------------------------------

    Component/s: JCA service


> BaseWrapperManagedConnectionFactory.isStaleConnection creates new class instance every call
> -------------------------------------------------------------------------------------------
>
>                 Key: JBAS-3813
>                 URL: https://jira.jboss.org/jira/browse/JBAS-3813
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JCA service
>    Affects Versions: JBossAS-5.0.0.Beta1
>            Reporter: Elias Ross
>            Priority: Minor
>
>    boolean isStaleConnection(SQLException e)
>    {
>       boolean isStale = false;
>       
>       if(staleConnectionChecker != null)
>       {
>       
>          isStale = staleConnectionChecker.isStaleConnection(e); 
>          
>       }
>       
>       if(staleConnectionCheckerClassName != null)
>       {
>          
> should change to:
>    boolean isStaleConnection(SQLException e)
>    {
>       
>       if(staleConnectionChecker != null)
>       {
>       
>          return staleConnectionChecker.isStaleConnection(e); 
>          
>       }
>       
>       if(staleConnectionCheckerClassName != null)
>       {
>          

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list