
public static class PreparedStatementCache.Key
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CALLABLE_STATEMENT
Callable statement cache
|
static int |
PREPARED_STATEMENT
Prepared statement cache
|
| Constructor and Description |
|---|
Key(java.lang.String sql,
int type,
int resultSetType,
int resultSetConcurrency)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getSql()
Get the SQL string
|
int |
hashCode() |
java.lang.String |
toString() |
public static final int PREPARED_STATEMENT
public static final int CALLABLE_STATEMENT
public Key(java.lang.String sql,
int type,
int resultSetType,
int resultSetConcurrency)
sql - The SQL stringtype - The typeresultSetType - The result set typeresultSetConcurrency - The result set concurrencypublic java.lang.String getSql()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014 IronJacamar (http://www.ironjacamar.org)