Thanks.
Can I make a feature request that enables Example Classes to construct
queries in a more dynamic way. It would be nice to be able to combine
clauses as either 'OR' or 'AND' like
criteria1 = example.createCriteria().andField1EqualTo(testValue);
criteria2 = example.createCriteria().andField2IEqualTo(testValue2);
example.andCriteria(criteria1);
if(testValue3 > 5)
example.andCriteria(criterial2);
else
example.orCriteria(criterial2);
I guess I'm looking for some way to combine the power of the Java5 Generator
with the flexibility of the Legacy Generator.
--
View this message in context:
http://www.nabble.com/Complex-Abator-Query-tp18937755p18957341.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.