Hi Bogdan,
I can't reproduce your ArrayIndexOutOfBoundsException. Could you post an
example list to reproduce the problem?
e.g. something like
list.add("");
list.add("1");
list.add("2");...
regards,
Armin
Bogdan Daniliuc wrote:
Hi all,
We are using OJB version 1.0.4 and facing the following issue:
StringList2VarcharFieldConversion throws an ArrayIndexOutOfBoundsException
when retrieving objects from the database. This happends in the method sqlToJava:
....
while (pos < length)
{
if (input.charAt(pos) != '#')
{
newString.append(input.charAt(pos));
}
else
{
if (input.charAt(pos + 1) != '#')
....
when pos = length-1, it will try to access the character at position length,
resulting in the above mentioned exception.
Bogdan Daniliuc
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]