|
From: NHibernate J. <mik...@us...> - 2007-11-07 23:17:58
|
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
|
|
From: NHibernate J. <nh...@gm...> - 2008-09-30 12:32:15
|
[ http://jira.nhibernate.org/browse/NH-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fabio Maulo updated NH-1192:
----------------------------
Fix Version/s: (was: 2.1.0.Alpha1)
> 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
|
|
From: NHibernate J. <nh...@gm...> - 2008-10-10 18:30:30
|
[ http://jira.nhibernate.org/browse/NH-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17007#action_17007 ]
Tuna Toksoz commented on NH-1192:
---------------------------------
can be solved using custom functions, right?
> 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
|
|
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
|
|
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
|
|
From: NHibernate J. <nh...@gm...> - 2009-06-21 08:24:49
|
[ http://nhjira.koah.net/browse/NH-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tuna Toksoz closed NH-1192.
---------------------------
Resolution: Not an Issue
Tests added to support this is not an issue in rev 4498.
Probably fixed with the new parser.
> Support bitwise operations
> --------------------------
>
> Key: NH-1192
> URL: http://nhjira.koah.net/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://nhjira.koah.net/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: NHibernate J. <nh...@gm...> - 2009-06-21 11:47:02
|
[ http://nhjira.koah.net/browse/NH-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fabio Maulo resolved NH-1192.
-----------------------------
Resolution: Fixed
Fix Version/s: 2.1.0.Beta2
> Support bitwise operations
> --------------------------
>
> Key: NH-1192
> URL: http://nhjira.koah.net/browse/NH-1192
> Project: NHibernate
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.2.1
> Reporter: Serguei Komarov
> Priority: Major
> Fix For: 2.1.0.Beta2
>
>
> 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://nhjira.koah.net/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: NHibernate J. <nh...@gm...> - 2009-06-21 12:01:50
|
[ http://nhjira.koah.net/browse/NH-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fabio Maulo reopened NH-1192:
-----------------------------
> Support bitwise operations
> --------------------------
>
> Key: NH-1192
> URL: http://nhjira.koah.net/browse/NH-1192
> Project: NHibernate
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.2.1
> Reporter: Serguei Komarov
> Priority: Major
> Fix For: 2.1.0.Beta2
>
>
> 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://nhjira.koah.net/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Alexey G. (JIRA) <nh...@gm...> - 2011-04-18 14:36:32
|
[ http://216.121.112.228/browse/NH-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20914#action_20914 ]
Alexey Gorbach commented on NH-1192:
------------------------------------
It is not fixed for oracle. It uses & in bitwise and operations, while it should call function bitand.
> Support bitwise operations
> --------------------------
>
> Key: NH-1192
> URL: http://216.121.112.228/browse/NH-1192
> Project: NHibernate
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.2.1
> Reporter: Serguei Komarov
> Priority: Major
> Fix For: 2.1.0.Beta2
>
>
> 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://216.121.112.228/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|