I've got an issue in Scarab for this (TRQ14); I'll put together a test case and see what happens.
Thanks, Stephen > -----Original Message----- > From: Brad Fritz [mailto:[EMAIL PROTECTED]] > Sent: Sunday, August 25, 2002 7:24 PM > To: [EMAIL PROTECTED] > Subject: possible Criteria.Criterion.setIgnoreCase() bug in 3.0-b3 > > > After an upgrade from 3.0-b2 to 3.0-b3 one of my apps with a > Criteria.Criterion.setIgnoreCase() method call started throwing > null pointer exceptions. I think there may be a bug with the > way ignore case works in b3. Unfortunately, I haven't had a > chance to try b4. > > Here is a simple class that illustrates the problem: > > import org.apache.torque.util.Criteria; > > public class CriterionTest { > > public static void main(String args[]) { > > Criteria myCriteria = new Criteria(); > > Criteria.Criterion myCriterion = > myCriteria.getNewCriterion( > "the_col", (Object)"foobar", Criteria.LIKE); > System.err.println("before setIgnoreCase: " + myCriterion); > > myCriterion.setIgnoreCase(true); > System.err.println("after setIgnoreCase: " + myCriterion); > } > } > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
