db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Waagan <Kristian.Waa...@Sun.COM>
Subject Re: Long text/CLOB – SQLException: Java exception: '-1: java.lang.ArrayIndexOutOfBoundsException'
Date Mon, 18 May 2009 07:19:20 GMT
hbf wrote:
> Dear Knut,
>
> Thanks a lot for your quick reply. It's a known issue then.
>   

Hello Kaspar,

Can you tell us which isolation level you are using when you see this error?
I'm wondering if the bug is restricted to read uncommitted, or if it can 
be seen with other isolation levels as well under heavier loads (or 
higher concurrency).


Thank you,
-- 
Kristian
> 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
>>
>>
>>     
>
>   


Mime
View raw message