protected class LoggingConnectionDecorator.LoggingConnection.LoggingPreparedStatement extends DelegatingPreparedStatement
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
batchedRowsBaseIndex |
| Constructor and Description |
|---|
LoggingConnectionDecorator.LoggingConnection.LoggingPreparedStatement(java.sql.PreparedStatement stmnt,
java.lang.String sql) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch() |
protected void |
appendInfo(java.lang.StringBuffer buf) |
void |
cancel() |
void |
clearParameters() |
boolean |
execute() |
boolean |
execute(java.lang.String sql) |
boolean |
execute(java.lang.String s,
int i) |
boolean |
execute(java.lang.String s,
int[] ia) |
boolean |
execute(java.lang.String s,
java.lang.String[] sa) |
int[] |
executeBatch() |
protected java.sql.ResultSet |
executeQuery(boolean wrap)
Execute the query, with the option of not wrapping it in a
DelegatingResultSet, which is the default. |
protected java.sql.ResultSet |
executeQuery(java.lang.String sql,
boolean wrap)
Execute the query, with the option of not wrapping it in a
DelegatingResultSet, which is the default. |
int |
executeUpdate() |
int |
executeUpdate(java.lang.String sql) |
int |
executeUpdate(java.lang.String s,
int i) |
int |
executeUpdate(java.lang.String s,
int[] ia) |
int |
executeUpdate(java.lang.String s,
java.lang.String[] sa) |
java.sql.ResultSetMetaData |
getMetaData() |
void |
setArray(int i,
java.sql.Array a) |
void |
setAsciiStream(int i1,
java.io.InputStream is,
int i2) |
void |
setBigDecimal(int i,
java.math.BigDecimal bd) |
void |
setBinaryStream(int i1,
java.io.InputStream is) |
void |
setBinaryStream(int i1,
java.io.InputStream is,
int i2) |
void |
setBlob(int i,
java.sql.Blob b) |
void |
setBoolean(int i,
boolean b) |
void |
setByte(int i,
byte b) |
void |
setBytes(int i,
byte[] b) |
void |
setCharacterStream(int i1,
java.io.Reader r,
int i2) |
void |
setClob(int i,
java.sql.Clob c) |
void |
setDate(int i,
java.sql.Date d) |
void |
setDate(int i,
java.sql.Date d,
java.util.Calendar c) |
void |
setDouble(int i,
double d) |
void |
setFloat(int i,
float f) |
void |
setInt(int i1,
int i2) |
void |
setLong(int i,
long l) |
void |
setNull(int i1,
int i2) |
void |
setNull(int i1,
int i2,
java.lang.String s) |
void |
setObject(int i,
java.lang.Object o) |
void |
setObject(int i1,
java.lang.Object o,
int i2) |
void |
setObject(int i1,
java.lang.Object o,
int i2,
int i3) |
void |
setRef(int i,
java.sql.Ref r) |
void |
setShort(int i,
short s) |
void |
setString(int i,
java.lang.String s) |
void |
setTime(int i,
java.sql.Time t) |
void |
setTime(int i,
java.sql.Time t,
java.util.Calendar c) |
void |
setTimestamp(int i,
java.sql.Timestamp t) |
void |
setTimestamp(int i,
java.sql.Timestamp t,
java.util.Calendar c) |
void |
setUnicodeStream(int i1,
java.io.InputStream is,
int i2)
Deprecated.
|
void |
setURL(int i,
java.net.URL u) |
protected java.sql.ResultSet |
wrapResult(java.sql.ResultSet rs,
boolean wrap) |
addBatch, clearBatch, clearWarnings, close, closeOnCompletion, equals, executeQuery, executeQuery, getConnection, getDelegate, getFetchDirection, getFetchSize, getGeneratedKeys, getInnermostDelegate, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getParameterMetaData, getQueryTimeout, getResultSet, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, hashCode, initialize, isClosed, isCloseOnCompletion, isPoolable, isWrapperFor, setAsciiStream, setAsciiStream, setBinaryStream, setBlob, setBlob, setCharacterStream, setCharacterStream, setClob, setClob, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setPoolable, setQueryTimeout, setRowId, setSQLXML, toString, unwrappublic LoggingConnectionDecorator.LoggingConnection.LoggingPreparedStatement(java.sql.PreparedStatement stmnt,
java.lang.String sql)
throws java.sql.SQLException
java.sql.SQLExceptionprotected java.sql.ResultSet wrapResult(java.sql.ResultSet rs,
boolean wrap)
wrapResult in class DelegatingPreparedStatementprotected java.sql.ResultSet executeQuery(java.lang.String sql,
boolean wrap)
throws java.sql.SQLException
DelegatingPreparedStatementDelegatingResultSet, which is the default.executeQuery in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String sql)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String sql)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class DelegatingPreparedStatementjava.sql.SQLExceptionprotected java.sql.ResultSet executeQuery(boolean wrap)
throws java.sql.SQLException
DelegatingPreparedStatementDelegatingResultSet, which is the default.executeQuery in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic int executeUpdate()
throws java.sql.SQLException
executeUpdate in interface java.sql.PreparedStatementexecuteUpdate in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic int[] executeBatch()
throws java.sql.SQLException
executeBatch in interface java.sql.StatementexecuteBatch in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic boolean execute()
throws java.sql.SQLException
execute in interface java.sql.PreparedStatementexecute in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String s,
int i)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String s,
int[] ia)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String s,
java.lang.String[] sa)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String s,
int i)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String s,
int[] ia)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String s,
java.lang.String[] sa)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void cancel()
throws java.sql.SQLException
cancel in interface java.sql.Statementcancel in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setNull(int i1,
int i2)
throws java.sql.SQLException
setNull in interface java.sql.PreparedStatementsetNull in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setBoolean(int i,
boolean b)
throws java.sql.SQLException
setBoolean in interface java.sql.PreparedStatementsetBoolean in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setByte(int i,
byte b)
throws java.sql.SQLException
setByte in interface java.sql.PreparedStatementsetByte in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setShort(int i,
short s)
throws java.sql.SQLException
setShort in interface java.sql.PreparedStatementsetShort in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setInt(int i1,
int i2)
throws java.sql.SQLException
setInt in interface java.sql.PreparedStatementsetInt in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setLong(int i,
long l)
throws java.sql.SQLException
setLong in interface java.sql.PreparedStatementsetLong in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setFloat(int i,
float f)
throws java.sql.SQLException
setFloat in interface java.sql.PreparedStatementsetFloat in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setDouble(int i,
double d)
throws java.sql.SQLException
setDouble in interface java.sql.PreparedStatementsetDouble in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setBigDecimal(int i,
java.math.BigDecimal bd)
throws java.sql.SQLException
setBigDecimal in interface java.sql.PreparedStatementsetBigDecimal in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setString(int i,
java.lang.String s)
throws java.sql.SQLException
setString in interface java.sql.PreparedStatementsetString in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setBytes(int i,
byte[] b)
throws java.sql.SQLException
setBytes in interface java.sql.PreparedStatementsetBytes in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setDate(int i,
java.sql.Date d)
throws java.sql.SQLException
setDate in interface java.sql.PreparedStatementsetDate in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setTime(int i,
java.sql.Time t)
throws java.sql.SQLException
setTime in interface java.sql.PreparedStatementsetTime in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setTimestamp(int i,
java.sql.Timestamp t)
throws java.sql.SQLException
setTimestamp in interface java.sql.PreparedStatementsetTimestamp in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setAsciiStream(int i1,
java.io.InputStream is,
int i2)
throws java.sql.SQLException
setAsciiStream in interface java.sql.PreparedStatementsetAsciiStream in class DelegatingPreparedStatementjava.sql.SQLException@Deprecated
public void setUnicodeStream(int i1,
java.io.InputStream is,
int i2)
throws java.sql.SQLException
setUnicodeStream in interface java.sql.PreparedStatementsetUnicodeStream in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setBinaryStream(int i1,
java.io.InputStream is,
int i2)
throws java.sql.SQLException
setBinaryStream in interface java.sql.PreparedStatementsetBinaryStream in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setBinaryStream(int i1,
java.io.InputStream is)
throws java.sql.SQLException
setBinaryStream in interface java.sql.PreparedStatementsetBinaryStream in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void clearParameters()
throws java.sql.SQLException
clearParameters in interface java.sql.PreparedStatementclearParameters in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setObject(int i1,
java.lang.Object o,
int i2,
int i3)
throws java.sql.SQLException
setObject in interface java.sql.PreparedStatementsetObject in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setObject(int i1,
java.lang.Object o,
int i2)
throws java.sql.SQLException
setObject in interface java.sql.PreparedStatementsetObject in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setObject(int i,
java.lang.Object o)
throws java.sql.SQLException
setObject in interface java.sql.PreparedStatementsetObject in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void addBatch()
throws java.sql.SQLException
addBatch in interface java.sql.PreparedStatementaddBatch in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setCharacterStream(int i1,
java.io.Reader r,
int i2)
throws java.sql.SQLException
setCharacterStream in interface java.sql.PreparedStatementsetCharacterStream in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setRef(int i,
java.sql.Ref r)
throws java.sql.SQLException
setRef in interface java.sql.PreparedStatementsetRef in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setBlob(int i,
java.sql.Blob b)
throws java.sql.SQLException
setBlob in interface java.sql.PreparedStatementsetBlob in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setClob(int i,
java.sql.Clob c)
throws java.sql.SQLException
setClob in interface java.sql.PreparedStatementsetClob in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setArray(int i,
java.sql.Array a)
throws java.sql.SQLException
setArray in interface java.sql.PreparedStatementsetArray in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
getMetaData in interface java.sql.PreparedStatementgetMetaData in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setDate(int i,
java.sql.Date d,
java.util.Calendar c)
throws java.sql.SQLException
setDate in interface java.sql.PreparedStatementsetDate in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setTime(int i,
java.sql.Time t,
java.util.Calendar c)
throws java.sql.SQLException
setTime in interface java.sql.PreparedStatementsetTime in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setTimestamp(int i,
java.sql.Timestamp t,
java.util.Calendar c)
throws java.sql.SQLException
setTimestamp in interface java.sql.PreparedStatementsetTimestamp in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setNull(int i1,
int i2,
java.lang.String s)
throws java.sql.SQLException
setNull in interface java.sql.PreparedStatementsetNull in class DelegatingPreparedStatementjava.sql.SQLExceptionpublic void setURL(int i,
java.net.URL u)
throws java.sql.SQLException
setURL in interface java.sql.PreparedStatementsetURL in class DelegatingPreparedStatementjava.sql.SQLExceptionprotected void appendInfo(java.lang.StringBuffer buf)
appendInfo in class DelegatingPreparedStatementCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.