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]

Reply via email to