Dhruti Ramani <dhrutiraman..ahoo.com> wrote:
> But what if I have to use AND in query. For example If i have to find all
the deals for specific broker and dates between start and end date. How
would I do that?
Expression e = anExpression.andExp(Expression anotherExpression);
Don't make the common mistake of doing the following as Expressions are
immutable (like BigDecimal) in this context.
anExpression.andExp(Expression anotherExpression);
http://www.objectstyle.org/cayenne/userguide/expressions/index.html
-Mike
This archive was generated by hypermail 2.0.0 : Tue Apr 26 2005 - 17:04:58 EDT