[hibernate-issues] [Hibernate-JIRA] Created: (HHH-7275) {h-schema} tag is not replaced in discriminator formula

Glen Leskinen (JIRA) noreply at atlassian.com
Wed Apr 25 11:32:48 EDT 2012


{h-schema} tag is not replaced in discriminator formula
-------------------------------------------------------

                 Key: HHH-7275
                 URL: https://hibernate.onjira.com/browse/HHH-7275
             Project: Hibernate ORM
          Issue Type: Bug
            Reporter: Glen Leskinen


It is currently possible to embed {h-schema} in sql defined in <sql-query> tags and have the place holder be replaced by the value of the default_schema property. However, we can place native sql in discriminator formulas and {h-schema} is not replaced there.

<discriminator formula="(select d.defn_type_name from {h-schema}defn d where d.defn_id = defn_id)" type="string" />

--
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