Retrieves the value of a JDBC NCLOB parameter as a NClob object in the Java programming language.

Note: This feature is introduced starting with the Microsoft SQL Server JDBC Driver version 2.0.

Syntax

public java.sql.NClob getNClob(java.lang.String parameterName)

Parameters

parameterName

A String that contains the parameter name.

Return Value

A NClob object.

Exceptions

SQLServerException

Remarks

This getNClob method is specified by the getNClob method in the java.sql.CallableStatement interface.

This method only supports retrieving NCHAR, NVARCHAR, NTEXT, and XML parameters. Calling these methods on other data type parameters will cause an exception.

See Also

getNClob Method (SQLServerCallableStatement)
SQLServerCallableStatement Members