[hibernate-issues] [Hibernate-JIRA] Created: (HHH-7291) Allow the use of HQL in discriminator formula's

Rowan Massey (JIRA) noreply at atlassian.com
Tue May 1 09:56:48 EDT 2012


Allow the use of HQL in discriminator formula's
-----------------------------------------------

                 Key: HHH-7291
                 URL: https://hibernate.onjira.com/browse/HHH-7291
             Project: Hibernate ORM
          Issue Type: Improvement
          Components: query-hql
    Affects Versions: 4.1.0
            Reporter: Rowan Massey


I created a custom SQL function called "bitwiseAnd" for the dialects of both SQLServer and Oracle10g, since we support both databases. I was hoping to use this in my DiscriminatorFormula annotation, however it expects native SQL, which would force me to facilitate the use of one dialect only. Would it be at all possible to use HQL along with custom functions in the discriminator formula?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list