Class ListStaleConnectionChecker

java.lang.Object
org.jboss.jca.adapters.jdbc.extensions.novendor.ListStaleConnectionChecker
All Implemented Interfaces:
Serializable, StaleConnectionChecker

public class ListStaleConnectionChecker extends Object implements StaleConnectionChecker, Serializable
Version:
$Revision: 75423 $
Author:
John Lee
See Also:
  • Constructor Details

    • ListStaleConnectionChecker

      public ListStaleConnectionChecker()
      Constructor
  • Method Details

    • setStaleExceptions

      public void setStaleExceptions(String s)
      set set via <config-property name="StaleExceptions">10099,10100,10101</> Set the stale exceptions
      Parameters:
      s - The value
    • isStaleConnection

      public boolean isStaleConnection(SQLException e)
      Is the connection stale
      Specified by:
      isStaleConnection in interface StaleConnectionChecker
      Parameters:
      e - the java.sql.SQLException
      Returns:
      is the connection stale