One of our developers, new to cayenne, recently ran in to this problem...
(didn't work)
Expression exp = ExpressionFactory.matchExp(
AuthUserAttribute.ATTR_NAME_PROPERTY, testAttributeName);
exp.andExp(ExpressionFactory.matchExp(AuthUserAttribute.USERNAME_PROPERTY,
testUser));
(works)
Expression exp = ExpressionFactory.matchExp(
AuthUserAttribute.ATTR_NAME_PROPERTY, testAttributeName);
exp = exp.andExp(ExpressionFactory.matchExp(
AuthUserAttribute.USERNAME_PROPERTY, testUser));
It seem smalll but could cost a developer significant time.
-- Joshua T. Pyle Go has always existed.
This archive was generated by hypermail 2.0.0 : Mon May 16 2005 - 13:43:50 EDT