Class PStmtKey

java.lang.Object
org.apache.commons.dbcp2.PStmtKey
Direct Known Subclasses:
PStmtKeyCPDS

public class PStmtKey extends Object
A key uniquely identifying PreparedStatements.
Since:
2.0
Version:
$Id: PStmtKey.java 1649430 2015-01-04 21:29:32Z tn $
  • Constructor Details

    • PStmtKey

      public PStmtKey(String sql)
    • PStmtKey

      public PStmtKey(String sql, String catalog)
    • PStmtKey

      public PStmtKey(String sql, String catalog, int autoGeneratedKeys)
    • PStmtKey

      public PStmtKey(String sql, String catalog, org.apache.commons.dbcp2.PoolingConnection.StatementType stmtType, Integer autoGeneratedKeys)
    • PStmtKey

      public PStmtKey(String sql, int resultSetType, int resultSetConcurrency)
    • PStmtKey

      public PStmtKey(String sql, String catalog, int resultSetType, int resultSetConcurrency)
    • PStmtKey

      public PStmtKey(String sql, String catalog, int resultSetType, int resultSetConcurrency, org.apache.commons.dbcp2.PoolingConnection.StatementType stmtType)
  • Method Details

    • getSql

      public String getSql()
    • getResultSetType

      public Integer getResultSetType()
    • getResultSetConcurrency

      public Integer getResultSetConcurrency()
    • getAutoGeneratedKeys

      public Integer getAutoGeneratedKeys()
    • getCatalog

      public String getCatalog()
    • getStmtType

      public org.apache.commons.dbcp2.PoolingConnection.StatementType getStmtType()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object