Olivier Billard wrote:
Hi Cocooners !

In the EsqlHelper class / getAscii method, no test is done against the null value when getting a CLOB :

...
  Clob dbClob = set.getClob(column);
  int length = (int) dbClob.length();
...

So when using <esql:get-string> to retrieve a possible <null> value, a CascadingRuntimeException is thrown, even if a @null attribute is set...

Do I miss something or do you want a patch ?

A patch would be great. Thanks for spotting this.


Chris.

Reply via email to