public class PreparedStatementInformation extends StatementInformation implements Loggable
Constructor and Description |
---|
PreparedStatementInformation(ConnectionInformation connectionInformation) |
Modifier and Type | Method and Description |
---|---|
protected String |
convertToString(Object value) |
protected Map<Integer,Object> |
getParameterValues() |
String |
getSqlWithValues()
Generates the query for the prepared statement with all parameter placeholders
replaced with the actual parameter values
|
void |
setParameterValue(int position,
Object value)
Records the value of a parameter.
|
getConnectionId, getSql, getStatementQuery, setStatementQuery
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConnectionId, getSql
public PreparedStatementInformation(ConnectionInformation connectionInformation)
public String getSqlWithValues()
getSqlWithValues
in interface Loggable
getSqlWithValues
in class StatementInformation
public void setParameterValue(int position, Object value)
position
- the position of the parameter (starts with 1 not 0)value
- the value of the parameterCopyright © 2002-2016 P6Spy. All Rights Reserved.