HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19061 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
00b0459ce5
commit
96a627078a
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
<discriminator
|
<discriminator
|
||||||
type="character"
|
type="character"
|
||||||
formula="case when title is not null then 'E' when salesperson is not null then 'C' else 'P' end"/>
|
formula="case when `title` is not null then 'E' when salesperson is not null then 'C' else 'P' end"/>
|
||||||
|
|
||||||
<property name="name"
|
<property name="name"
|
||||||
not-null="true"
|
not-null="true"
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
<subclass name="Employee"
|
<subclass name="Employee"
|
||||||
discriminator-value="E">
|
discriminator-value="E">
|
||||||
<property name="title"
|
<property name="title" column="`title`"
|
||||||
length="20"/>
|
length="20"/>
|
||||||
<property name="salary"
|
<property name="salary"
|
||||||
length="0"/>
|
length="0"/>
|
||||||
|
|
Loading…
Reference in New Issue