|
From: NHibernate J. <nh...@gm...> - 2008-11-14 14:38:22
|
[ http://jira.nhibernate.org/browse/NH-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17215#action_17215 ]
Stefan Steinegger commented on NH-1192:
---------------------------------------
I added this into my configuration:
<property name="query.substitutions">bw_or=^, bw_and=&, bw_not=~</property>
It works, but it's not nice. I have many configuration files for tests and development and production. This is hard to maintain. Would be really nice if NHibernate would support it.
> 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
|