public static class DruidPooledPreparedStatement.PreparedStatementKey extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
autoGeneratedKeys |
int |
resultSetConcurrency |
int |
resultSetHoldability |
int |
resultSetType |
| Constructor and Description |
|---|
PreparedStatementKey(String sql,
String catalog,
PreparedStatementPool.MethodType methodType) |
PreparedStatementKey(String sql,
String catalog,
PreparedStatementPool.MethodType methodType,
int autoGeneratedKeys) |
PreparedStatementKey(String sql,
String catalog,
PreparedStatementPool.MethodType methodType,
int[] columnIndexes) |
PreparedStatementKey(String sql,
String catalog,
PreparedStatementPool.MethodType methodType,
int resultSetType,
int resultSetConcurrency) |
PreparedStatementKey(String sql,
String catalog,
PreparedStatementPool.MethodType methodType,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
PreparedStatementKey(String sql,
String catalog,
PreparedStatementPool.MethodType methodType,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability,
int autoGeneratedKeys,
int[] columnIndexes,
String[] columnNames) |
PreparedStatementKey(String sql,
String catalog,
PreparedStatementPool.MethodType methodType,
String[] columnNames) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
int |
getResultSetConcurrency() |
int |
getResultSetHoldability() |
int |
getResultSetType() |
String |
getSql() |
int |
hashCode() |
public final int resultSetType
public final int resultSetConcurrency
public final int resultSetHoldability
public final int autoGeneratedKeys
public PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType) throws SQLException
SQLExceptionpublic PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType, int resultSetType, int resultSetConcurrency) throws SQLException
SQLExceptionpublic PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
SQLExceptionpublic PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType, int autoGeneratedKeys) throws SQLException
SQLExceptionpublic PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType, int[] columnIndexes) throws SQLException
SQLExceptionpublic PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType, String[] columnNames) throws SQLException
SQLExceptionpublic PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType, int resultSetType, int resultSetConcurrency, int resultSetHoldability, int autoGeneratedKeys, int[] columnIndexes, String[] columnNames) throws SQLException
SQLExceptionpublic int getResultSetType()
public int getResultSetConcurrency()
public int getResultSetHoldability()
public String getSql()
Copyright © 2013–2018 Alibaba Group. All rights reserved.