db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbf <fisch...@inf.ethz.ch>
Subject Re: Long text/CLOB – SQLException: Java exception: '-1: java.lang.ArrayIndexOutOfBoundsException'
Date Mon, 18 May 2009 06:04:56 GMT

Dear Knut,

Thanks a lot for your quick reply. It's a known issue then.

Thanks again,
Kaspar


Knut Anders Hatlen wrote:
> 
> hbf <fischerk@inf.ethz.ch> writes:
> 
>> Dear list,
>>
>> I need to store a long text in a field of my entity and have run into a
>> problem: When my app was under load it threw the exception pasted below.
>> I
>> use the following mapping, which uses CLOB as indicated at
>> http://opensource.atlassian.com/projects/hibernate/browse/HHH-1501
>> because
>> Derby's TEXT only stores 32K.
>>
> 
> [...]
> 
>> From the exception (see SQLChar.getString below) it seems that this is
>> related to the 'log' property with CLOB NOT NULL. 
>>
>> Does anybody have an idea how to solve this or what exactly the problem
>> is?
> 
> Hi Kaspar,
> 
> I cannot answer how to solve it, but it looks like you've been hit by
> this bug: https://issues.apache.org/jira/browse/DERBY-3811
> 
> -- 
> Knut Anders
> 
> 

-- 
View this message in context: http://www.nabble.com/Long-text-CLOB-%E2%80%93%C2%A0SQLException%3A-Java-exception%3A-%27-1%3A-java.lang.ArrayIndexOutOfBoundsException%27-tp23587108p23591595.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.


Mime
View raw message