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