public class PreparedStatementProxyImpl extends java.lang.Object implements java.lang.reflect.InvocationHandler, PreparedStatementProxy
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
void |
setReportSQLErros(boolean b) |
static java.sql.PreparedStatement |
wrapStatement(java.sql.Connection c,
java.lang.String sql,
int resultSetType,
int resultSetConcurrency) |
static java.sql.PreparedStatement |
wrapStatement(java.sql.PreparedStatement pstm,
java.lang.String sql) |
public static java.sql.PreparedStatement wrapStatement(java.sql.Connection c,
java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
throws java.lang.Exception
java.lang.Exceptionpublic static java.sql.PreparedStatement wrapStatement(java.sql.PreparedStatement pstm,
java.lang.String sql)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerjava.lang.Throwablepublic void setReportSQLErros(boolean b)
setReportSQLErros in interface PreparedStatementProxy