I'm assuming you mean bitwise? Cayenne Expressions ultimately boil down to SQL, so it should be possible to create such an expression for databases that support bitwise boolean operations. You may want to try Expression.fromString(): http://cayenne.apache.org/doc20/building-expressions.html
-----Original Message----- From: KathyS [mailto:[EMAIL PROTECTED] Sent: Sunday, December 07, 2008 8:18 AM To: [email protected] Subject: binary and/or Hi, I'm retrofitting existing code base to use cayenne. The logic relies on bitmaps stored in an integer field. So current code goes _if value & flag > 0 do something_. When I'm trying to use '&' in Cayenne expression though, I get exception. bitand gets exception too. Is there a way to do binary and /or using Cayenne? Thanks!! Kathy -- View this message in context: http://www.nabble.com/binary-and-or-tp20880990p20880990.html Sent from the Cayenne - User mailing list archive at Nabble.com.
