Package com.alibaba.druid.pool
Class DruidPooledPreparedStatement.PreparedStatementKey
java.lang.Object
com.alibaba.druid.pool.DruidPooledPreparedStatement.PreparedStatementKey
- Enclosing class:
- DruidPooledPreparedStatement
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
protected final String
protected final PreparedStatementPool.MethodType
final int
final int
final int
protected final String
-
Constructor Summary
ConstructorDescriptionPreparedStatementKey
(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) -
Method Summary
-
Field Details
-
sql
-
catalog
-
methodType
-
resultSetType
public final int resultSetType -
resultSetConcurrency
public final int resultSetConcurrency -
resultSetHoldability
public final int resultSetHoldability -
autoGeneratedKeys
public final int autoGeneratedKeys
-
-
Constructor Details
-
PreparedStatementKey
public PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType) throws SQLException - Throws:
SQLException
-
PreparedStatementKey
public PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType, int resultSetType, int resultSetConcurrency) throws SQLException - Throws:
SQLException
-
PreparedStatementKey
public PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException - Throws:
SQLException
-
PreparedStatementKey
public PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType, int autoGeneratedKeys) throws SQLException - Throws:
SQLException
-
PreparedStatementKey
public PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType, int[] columnIndexes) throws SQLException - Throws:
SQLException
-
PreparedStatementKey
public PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType, String[] columnNames) throws SQLException - Throws:
SQLException
-
PreparedStatementKey
public PreparedStatementKey(String sql, String catalog, PreparedStatementPool.MethodType methodType, int resultSetType, int resultSetConcurrency, int resultSetHoldability, int autoGeneratedKeys, int[] columnIndexes, String[] columnNames) throws SQLException - Throws:
SQLException
-
-
Method Details