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 09:18:24 GMT

Hi Kristian,

I am using read uncommitted. I disabled the feature that uses this column
for the time being. Once I have time to test, I can try with other levels. 

Kaspar


Kristian Waagan-4 wrote:
> 
> 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
>>>
>>>
>>>     
>>
>>   
> 
> 
> 

-- 
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-tp23587108p23593893.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.


Mime
View raw message