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:
Strong Liu 2010-03-22 15:59:58 +00:00
parent 00b0459ce5
commit 96a627078a
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
<discriminator
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"
not-null="true"
@ -45,7 +45,7 @@
<subclass name="Employee"
discriminator-value="E">
<property name="title"
<property name="title" column="`title`"
length="20"/>
<property name="salary"
length="0"/>