Map modulus operator to proper database construct per dialect
-------------------------------------------------------------
Key: HHH-4755
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4755
Project: Hibernate Core
Issue Type: Improvement
Components: core, query-hql
Reporter: Steve Ebersole
Assignee: Steve Ebersole
Fix For: antlr-rework
When we encounter a modulus operator in HQL, it would be nice to convert that tree to a
mod() function call against dialects which do not support a modulus operator. Currently
dialects do not report whether they support modulus, so we'd either need to add such a
method or inversely look up the function registered under "mod" and use that if
one found.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira