Retrieves the value of the designated JDBC CHAR,
VARCHAR, or LONGVARCHAR parameter as a
String in the Java programming language.
For the fixed-length type JDBC CHAR,
the String object
returned has exactly the same value the SQL
CHAR value had in the
database, including any padding added by the database.
parameterIndex | the first parameter is 1, the second is 2, and so on |
NULL,
the result
is null.
SQLException | if the parameterIndex is not valid;
if a database access error occurs or
this method is called on a closed CallableStatement |
setString
Diagram: Statement