bitwise « HQL « JPA Q&A





1. How to use bitwise operators in HQL?    stackoverflow.com

In HQL, how can I use bitwise operators? I want the resulting SQL query to look something like

SELECT RoleId, RoleName, RolePerms WHERE (RolePerms & @Parameter) = @Parameter
However, writing this HQL
select from ...

2. Bitwise operators in HQL    forum.hibernate.org

3. help about bitwise logical operation in hsql    forum.hibernate.org

SELECT reservation.reserve_year AS business_year, reservation.reserve_month AS business_month, reservation.reserve_day AS business_day, '##' AS table_state, reservation.reservation_num AS bill_num, reservation_type AS bill_type, ...