mardi 2 juin 2015

Assign value to clob variable in java

Say there is a variable CLOB response; in java.

Now how to assign some value to this clob variable in java?

I am doing this-

Clob clob=null;
          clob.setString(0, "<test></test>");

at the second line its showing error,saying clob could be only null here.

Aucun commentaire:

Enregistrer un commentaire