I'd like to know if it's possible to write comparisson expressions based on bitwise operators in EJBQL or if anyone knows a way to solve the problem i'm having. In a select clause i want to retrieve all items with a particular bit (of a field of type long) set to 1.