public static class QueryPreparer.LongStaticPlaceHolder extends QueryPreparer.StaticPlaceHolder
ALL_SYMBOL, NULL_VALUE, QUESTION_MARK
Constructor and Description |
---|
LongStaticPlaceHolder(long val,
QueryPreparer outer) |
Modifier and Type | Method and Description |
---|---|
String |
displayToString()
Displays the value of this place holder as a String
|
void |
setValue(PreparedStatement ps)
Calls the appropriate set method on the given PreparedStatement with
the saved static value for the position of this PlaceHolder.
|
addIndex, appendTo, collectSchemaObjects, getIndex, getIndexes, getOuter, isInQuery, setBoolean, setBoolean, setInt, setInt, setLong, setLong, setNonNullObject, setNonNullString, setNull, setObject, setObject, setString
collectSchemaObjects, doValidate, toString
toString, toString
public LongStaticPlaceHolder(long val, QueryPreparer outer)
public void setValue(PreparedStatement ps) throws SQLException
QueryPreparer.StaticPlaceHolder
setValue
in class QueryPreparer.StaticPlaceHolder
SQLException
public String displayToString()
QueryPreparer.StaticPlaceHolder
displayToString
in class QueryPreparer.StaticPlaceHolder
Copyright © 2006–2021 OpenHMS. All rights reserved.