org.apache.commons.dbcp2.cpdsadapter

## Class PStmtKeyCPDS

- java.lang.Object
- - org.apache.commons.dbcp2.PStmtKey
  - - org.apache.commons.dbcp2.cpdsadapter.PStmtKeyCPDS

-     public class PStmtKeyCPDS
      extends PStmtKey

  A key uniquely identifying a `PreparedStatement`.
  Since:
    2.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PStmtKeyCPDS(String sql)`
    `PStmtKeyCPDS(String sql, int autoGeneratedKeys)`
    `PStmtKeyCPDS(String sql, int[] columnIndexes)`
    `PStmtKeyCPDS(String sql, int resultSetType, int resultSetConcurrency)`
    `PStmtKeyCPDS(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)`
    `PStmtKeyCPDS(String sql, String[] columnNames)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `int` | `hashCode()`
    `String` | `toString()`

    - ### Methods inherited from class org.apache.commons.dbcp2.PStmtKey

      `createStatement, getAutoGeneratedKeys, getCatalog, getColumnIndexes, getColumnNames, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getSql, getStmtType`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### PStmtKeyCPDS

          public PStmtKeyCPDS(String sql)

    - #### PStmtKeyCPDS

          public PStmtKeyCPDS(String sql,
                              int autoGeneratedKeys)

    - #### PStmtKeyCPDS

          public PStmtKeyCPDS(String sql,
                              int resultSetType,
                              int resultSetConcurrency)

    - #### PStmtKeyCPDS

          public PStmtKeyCPDS(String sql,
                              int resultSetType,
                              int resultSetConcurrency,
                              int resultSetHoldability)

    - #### PStmtKeyCPDS

          public PStmtKeyCPDS(String sql,
                              int[] columnIndexes)

    - #### PStmtKeyCPDS

          public PStmtKeyCPDS(String sql,
                              String[] columnNames)

  - ### Method Detail

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `PStmtKey`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `PStmtKey`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `PStmtKey`

Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.