public abstract String getNString (String parameterName) throws SQLException

Retrieves the value of the designated NCHAR, NVARCHAR or LONGNVARCHAR parameter as a String in the Java programming language.

For the fixed-length type JDBC NCHAR, the String object returned has exactly the same value the SQL NCHAR value had in the database, including any padding added by the database.

Parameters:
parameterName    the name of the parameter

Returns:  a String object that maps an NCHAR, NVARCHAR or LONGNVARCHAR value

Exceptions:
SQLException    if parameterName does not correspond to a named parameter; if a database access error occurs or this method is called on a closed CallableStatement
SQLFeatureNotSupportedException    if the JDBC driver does not support this method

See also:
setNString

Since:  1.6