[
https://jira.jboss.org/browse/JBAS-3813?page=com.atlassian.jira.plugin.sy...
]
Jesper Pedersen resolved JBAS-3813.
-----------------------------------
Assignee: Jesper Pedersen
Fix Version/s: 6.0.0.M4
Resolution: Done
BaseWrapperManagedConnectionFactory.isStaleConnection creates new
class instance every call
-------------------------------------------------------------------------------------------
Key: JBAS-3813
URL:
https://jira.jboss.org/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
Assignee: Jesper Pedersen
Priority: Minor
Fix For: 6.0.0.M4
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/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira