Author: stliu
Date: 2010-03-22 09:56:03 -0400 (Mon, 22 Mar 2010)
New Revision: 19056
Modified:
core/trunk/testsuite/src/test/java/org/hibernate/test/entitymode/dom4j/basic/Account.hbm.xml
core/trunk/testsuite/src/test/java/org/hibernate/test/entitymode/dom4j/basic/Employer.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/entitymode/dom4j/basic/Account.hbm.xml
===================================================================
---
core/trunk/testsuite/src/test/java/org/hibernate/test/entitymode/dom4j/basic/Account.hbm.xml 2010-03-22
13:51:09 UTC (rev 19055)
+++
core/trunk/testsuite/src/test/java/org/hibernate/test/entitymode/dom4j/basic/Account.hbm.xml 2010-03-22
13:56:03 UTC (rev 19056)
@@ -8,7 +8,7 @@
<class entity-name="Customer" node="customer">
<id name="customerId" type="string"
node="@id"/>
<component name="name">
- <property name="first" type="string"/>
+ <property name="first" column="`first`"
type="string"/>
<property name="last" type="string"/>
</component>
<property name="address" type="string"
node="address"/>
@@ -34,7 +34,7 @@
</set>
</class>
- <class entity-name="Account" node="account">
+ <class entity-name="Account" table="`Account`"
node="account">
<id name="accountId" type="string"
node="@id"/>
<many-to-one name="customer" column="customerId"
entity-name="Customer" cascade="all" embed-xml="true" />
<!--not-null="true"-->
Modified:
core/trunk/testsuite/src/test/java/org/hibernate/test/entitymode/dom4j/basic/Employer.hbm.xml
===================================================================
---
core/trunk/testsuite/src/test/java/org/hibernate/test/entitymode/dom4j/basic/Employer.hbm.xml 2010-03-22
13:51:09 UTC (rev 19055)
+++
core/trunk/testsuite/src/test/java/org/hibernate/test/entitymode/dom4j/basic/Employer.hbm.xml 2010-03-22
13:56:03 UTC (rev 19056)
@@ -19,7 +19,7 @@
<id name="id" node="@id" type="long">
<generator class="increment"/>
</id>
- <discriminator column="role" type="string"
length="10"/>
+ <discriminator column="`role`" type="string"
length="10"/>
<property name="name" node="@name" type="string"/>
<subclass entity-name="Techie" node="techie" />
<subclass entity-name="Salesdude" node="sales-dude"/>
Show replies by date