JDBCStatementCache
| Modifier and Type | Field and Description |
|---|---|
| private static final boolean | |
| private static final boolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static StatementKey | Returns: A statement key.SQL query string sql, String current compilation schema schema, int result set holdability holdability)Creates a key for a callable statement. |
| public static StatementKey | Returns: A statement key.SQL query string sql, String current compilation schema schema, int result set type rst, int result set concurrency level rsc, int result set holdability rsh)Creates a key for a callable statement specifying result set type and concurrency. |
| public static StatementKey | Returns: A statement key.SQL query string sql, String current compilation schema schema, int result set holdability holdability)Creates a key for a query with default settings. |
| public static StatementKey | Returns: A statement key.SQL query string sql, String current compilation schema schema, int result set holdability holdability, int tells whether or not to reutrn auto-generated
keys autogeneratedKeys)Creates a key for a query specifying whether auto-generated keys shall be returned. |
| public static StatementKey | Returns: A statement key.SQL query string sql, String current compilation schema schema, int result set type rst, int result set concurrency level rsc, int result set holdability rsh)Creates a key for a query specifying result set type and concurrency. |
| CALLABLE | back to summary |
|---|---|
| private static final boolean CALLABLE | |
| PREPARED | back to summary |
|---|---|
| private static final boolean PREPARED | |
| StatementKeyFactory | back to summary |
|---|---|
| private StatementKeyFactory() Instantiation not allowed. | |
| newCallable | back to summary |
|---|---|
| public static StatementKey newCallable(String sql, String schema, int holdability) Creates a key for a callable statement.
Unspecified settings will be according to the JDBC standard; result set
type will be
| |
| newCallable | back to summary |
|---|---|
| public static StatementKey newCallable(String sql, String schema, int rst, int rsc, int rsh) Creates a key for a callable statement specifying result set type and concurrency. The returned key is for a statement not returning auto-generated keys.
| |
| newPrepared | back to summary |
|---|---|
| public static StatementKey newPrepared(String sql, String schema, int holdability) Creates a key for a query with default settings.
Defaults are according to the JDBC standard; result set type will be
| |
| newPrepared | back to summary |
|---|---|
| public static StatementKey newPrepared(String sql, String schema, int holdability, int autogeneratedKeys) Creates a key for a query specifying whether auto-generated keys shall be returned.
Unspecified settings will be according to the JDBC standard; result set
type will be
| |
| newPrepared | back to summary |
|---|---|
| public static StatementKey newPrepared(String sql, String schema, int rst, int rsc, int rsh) Creates a key for a query specifying result set type and concurrency. The returned key is for a statement not returning auto-generated keys.
| |