public class PreparedStatementProxy
extends java.lang.Object
| 构造器和说明 |
|---|
PreparedStatementProxy(java.sql.PreparedStatement pstmt,
boolean statementParameterSetLogEnable,
boolean autoAlterColumnLength,
java.util.Map<java.lang.String,java.lang.Integer> columnMaxLenMap) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addBatch() |
int[] |
executeBatch() |
java.sql.ResultSet |
executeQuery() |
int |
executeUpdate() |
java.util.List<java.util.List<java.lang.Object>> |
getBatchParameterList() |
java.util.List<java.lang.Object> |
getParameters() |
void |
setBoolean(int parameterIndex,
java.lang.Boolean x) |
void |
setDouble(int parameterIndex,
java.lang.Double x) |
void |
setFloat(int parameterIndex,
java.lang.Float x) |
void |
setInt(int parameterIndex,
java.lang.Integer x) |
void |
setLong(int parameterIndex,
java.lang.Long x) |
void |
setNull(int parameterIndex,
int sqlType) |
void |
setObject(int parameterIndex,
java.lang.Object x) |
void |
setString(FieldMapping fm,
int parameterIndex,
java.lang.String x) |
void |
setTimestamp(int parameterIndex,
java.sql.Timestamp x) |
public PreparedStatementProxy(java.sql.PreparedStatement pstmt,
boolean statementParameterSetLogEnable,
boolean autoAlterColumnLength,
java.util.Map<java.lang.String,java.lang.Integer> columnMaxLenMap)
public int executeUpdate()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void addBatch()
throws java.sql.SQLException
java.sql.SQLExceptionpublic int[] executeBatch()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.ResultSet executeQuery()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setObject(int parameterIndex,
java.lang.Object x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setString(FieldMapping fm, int parameterIndex, java.lang.String x) throws java.sql.SQLException
java.sql.SQLExceptionpublic void setLong(int parameterIndex,
java.lang.Long x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setInt(int parameterIndex,
java.lang.Integer x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setBoolean(int parameterIndex,
java.lang.Boolean x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setFloat(int parameterIndex,
java.lang.Float x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setDouble(int parameterIndex,
java.lang.Double x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setNull(int parameterIndex,
int sqlType)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setTimestamp(int parameterIndex,
java.sql.Timestamp x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.util.List<java.lang.Object> getParameters()
public java.util.List<java.util.List<java.lang.Object>> getBatchParameterList()