{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