Author: stliu
Date: 2010-03-22 11:59:58 -0400 (Mon, 22 Mar 2010)
New Revision: 19061
Modified:
core/trunk/testsuite/src/test/java/org/hibernate/test/discriminator/Person.hbm.xml
Log:
HHH-4732 quote column name as it is a keyword on teradata
Modified:
core/trunk/testsuite/src/test/java/org/hibernate/test/discriminator/Person.hbm.xml
===================================================================
---
core/trunk/testsuite/src/test/java/org/hibernate/test/discriminator/Person.hbm.xml 2010-03-22
14:40:05 UTC (rev 19060)
+++
core/trunk/testsuite/src/test/java/org/hibernate/test/discriminator/Person.hbm.xml 2010-03-22
15:59:58 UTC (rev 19061)
@@ -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"/>
Show replies by date