You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Stefan Krause <st...@minet.uni-jena.de> on 2002/03/11 15:15:49 UTC

Using bitwise AND in criteria

Hi everyone,

I would like to perform a query on a MySQL database. I stored BigInt 
values and I like to do a bitwise AND match. So, e.g. 7 & 5 -> 5
(111 & 101 -> 101). I didn't find an operator in the criteria howto. I 
would be grateful for an advice how to do this.
Thanks in advance.
Stefan


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>