Class PreparedStatementCache.Key

java.lang.Object
org.jboss.jca.adapters.jdbc.PreparedStatementCache.Key
Enclosing class:
PreparedStatementCache

public static class PreparedStatementCache.Key extends Object
Key class
  • Field Details

    • PREPARED_STATEMENT

      public static final int PREPARED_STATEMENT
      Prepared statement cache
      See Also:
    • CALLABLE_STATEMENT

      public static final int CALLABLE_STATEMENT
      Callable statement cache
      See Also:
  • Constructor Details

    • Key

      public Key(String sql, int type, int resultSetType, int resultSetConcurrency)
      Constructor
      Parameters:
      sql - The SQL string
      type - The type
      resultSetType - The result set type
      resultSetConcurrency - The result set concurrency
  • Method Details

    • getSql

      public String getSql()
      Get the SQL string
      Returns:
      The value
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object