org.jboss.jca.adapters.jdbc
Class PreparedStatementCache.Key

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

public static class PreparedStatementCache.Key
extends Object

Ket class


Field Summary
static int CALLABLE_STATEMENT
          Callable statement cache
static int PREPARED_STATEMENT
          Prepared statement cache
 
Constructor Summary
PreparedStatementCache.Key(String sql, int type, int resultSetType, int resultSetConcurrency)
          Constructor
 
Method Summary
 boolean equals(Object o)
          
 String getSql()
          Get the SQL string
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PREPARED_STATEMENT

public static final int PREPARED_STATEMENT
Prepared statement cache

See Also:
Constant Field Values

CALLABLE_STATEMENT

public static final int CALLABLE_STATEMENT
Callable statement cache

See Also:
Constant Field Values
Constructor Detail

PreparedStatementCache.Key

public PreparedStatementCache.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 Detail

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


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)