public static class QueryPreparer.TypedStaticPlaceHolder extends QueryPreparer.ObjectStaticPlaceHolder<Object>
_valALL_SYMBOL, NULL_VALUE, QUESTION_MARK| Constructor and Description |
|---|
TypedStaticPlaceHolder(Object val,
int sqlType,
QueryPreparer outer) |
| Modifier and Type | Method and Description |
|---|---|
void |
setValue(PreparedStatement ps)
Calls the appropriate set method on the given PreparedStatement with
the saved static value for the position of this PlaceHolder.
|
displayToStringaddIndex, appendTo, collectSchemaObjects, getIndex, getIndexes, getOuter, isInQuery, setBoolean, setBoolean, setInt, setInt, setLong, setLong, setNonNullObject, setNonNullString, setNull, setObject, setObject, setStringcollectSchemaObjects, doValidate, toStringtoString, toStringpublic TypedStaticPlaceHolder(Object val, int sqlType, QueryPreparer outer)
public void setValue(PreparedStatement ps) throws SQLException
QueryPreparer.StaticPlaceHoldersetValue in class QueryPreparer.ObjectStaticPlaceHolder<Object>SQLExceptionCopyright © 2006–2021 OpenHMS. All rights reserved.