Package org.jboss.jca.adapters.jdbc
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 Summary
Fields Modifier and Type Field Description static intCALLABLE_STATEMENTCallable statement cachestatic intPREPARED_STATEMENTPrepared statement cache
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetSql()Get the SQL stringinthashCode()StringtoString()
-
-
-
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
-
Key
public Key(String sql, int type, int resultSetType, int resultSetConcurrency)
Constructor- Parameters:
sql- The SQL stringtype- The typeresultSetType- The result set typeresultSetConcurrency- The result set concurrency
-
-