db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: Long text/CLOB – SQLException: Java exception: '-1: java.lang.ArrayIndexOutOfBoundsException'
Date Sun, 17 May 2009 20:30:58 GMT
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 raw message