Re: patch for org.apache.ojb.broker.util.SqlHelper class

2004-02-04 Thread Jakob Braeuchi
hi andrew, thanks for the patch. i commited the fix to the repository. jakob Andrew Geery wrote: I recently upgraded from 1.0.rc4 to 1.0.rc5. This broke some code I had written that used the method org.apache.ojb.broker.query.Criteria.addSql(String). The SQL I added was of the form: soundex(

patch for org.apache.ojb.broker.util.SqlHelper class

2004-02-03 Thread Andrew Geery
I recently upgraded from 1.0.rc4 to 1.0.rc5. This broke some code I had written that used the method org.apache.ojb.broker.query.Criteria.addSql(String). The SQL I added was of the form: soundex(value) = soundex(column). This resulted in an java.lang.ArrayIndexOutOfBoundsException being thrown