From: NHibernate J. <nh...@gm...> - 2008-11-14 16:32:23
|
[ http://jira.nhibernate.org/browse/NH-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17216#action_17216 ] Tuna Toksoz commented on NH-1192: --------------------------------- Stefan, you can probably use specific function which you can register in the dialect. It won't be like (x & 1) but be like band(x,1) probably works. > Support bitwise operations > -------------------------- > > Key: NH-1192 > URL: http://jira.nhibernate.org/browse/NH-1192 > Project: NHibernate > Issue Type: Improvement > Components: Core > Affects Versions: 1.2.1 > Reporter: Serguei Komarov > Priority: Major > > Support bitwise operations like bitwise-and and bitwise-or via HQL or criteria expression. > from Domain.Employee employee where (employee.Status & 1) > 0 > See related issue from Hibernate JIRA http://opensource.atlassian.com/projects/hibernate/browse/HHH-160 > Thank you in advance. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.nhibernate.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |