--- title: "setClob Method (java.lang.String, java.sql.Clob) | Microsoft Docs" ms.custom: "" ms.date: "01/19/2017" ms.prod: "sql-non-specified" ms.prod_service: "drivers" ms.service: "" ms.component: "jdbc" ms.reviewer: "" ms.suite: "sql" ms.technology: - "drivers" ms.tgt_pltfrm: "" ms.topic: "article" ms.assetid: 256b5f55-7a6d-44fb-9a09-19fa39f19c35 caps.latest.revision: 15 author: "MightyPen" ms.author: "genemi" manager: "jhubbard" ms.workload: "Inactive" --- # setClob Method (java.lang.String, java.sql.Clob) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Sets the designated parameter to the specified Clob object. ## Syntax ``` public final void setClob(java.lang.String parameterName, java.sql.Clob x) ``` #### Parameters *parameterName* A **String** that contains the parameter name. *x* A Clob object. ## Exceptions [SQLServerException](../../../connect/jdbc/reference/sqlserverexception-class.md) ## Remarks This setClob method is specified by the setClob method in the java.sql.CallableStatement interface. ## See Also [setClob Method (SQLServerCallableStatement)](../../../connect/jdbc/reference/setclob-method-sqlservercallablestatement.md) [SQLServerCallableStatement Members](../../../connect/jdbc/reference/sqlservercallablestatement-members.md)