public static class Parameter.StringParameter extends Parameter<String>
Parameter.BooleanParameter, Parameter.IntegerParameter, Parameter.LongParameter, Parameter.StringParameter| Constructor and Description |
|---|
StringParameter(String value)
Creates a new parameter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
set(PreparedStatement preparedStatement,
int index)
Sets the value on the prepared statement.
|
public StringParameter(String value)
value - The value of the parameter (may be null)public void set(PreparedStatement preparedStatement, int index) throws SQLException
set in class Parameter<String>preparedStatement - The prepared statement to set the value onindex - The index of the parameterSQLException - if an SQL error occursCopyright © 2026. All rights reserved.