public Clob toClob ( String stringName , Connection sqlConnection ) { Clob clobName = null ; try { clobName = sqlConnection . createClob ( ) ; clobName . setString ( 1 , stringName ) ; } catch ( SQLException e ) { // TODO Auto-generated catch block logger . info ( "Unable to create clob object" ) ; e . printStackTrace ( ) ; } return clobName ; }
Converts the given string to a clob object