Share via


getNClob Method (int)

Retrieves the value of the designated 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.

public java.sql.NClob getNClob(int parameterIndex)

Parameters

parameterIndex

An int that indicates the parameter index.

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

Concepts

getNClob Method (SQLServerCallableStatement)
SQLServerCallableStatement Methods
SQLServerCallableStatement Members