HHH-4732 quote column name as it is a keyword on teradata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19051 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
c0c4ed0c6c
commit
9c193f1f9c
|
@ -49,7 +49,7 @@
|
||||||
<many-to-one name="person" unique="true" not-null="true"/>
|
<many-to-one name="person" unique="true" not-null="true"/>
|
||||||
</class>
|
</class>
|
||||||
|
|
||||||
<class name="Account">
|
<class name="Account" table="`Account`">
|
||||||
<id name="accountId" length="32">
|
<id name="accountId" length="32">
|
||||||
<generator class="uuid.hex"/>
|
<generator class="uuid.hex"/>
|
||||||
</id>
|
</id>
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
<column name="userId"/>
|
<column name="userId"/>
|
||||||
<column name="userDeleted"/>
|
<column name="userDeleted"/>
|
||||||
</many-to-one>
|
</many-to-one>
|
||||||
<property name="type" not-null="true"/>
|
<property name="type" column="`type`" not-null="true"/>
|
||||||
</class>
|
</class>
|
||||||
|
|
||||||
</hibernate-mapping>
|
</hibernate-mapping>
|
Loading…
Reference in New Issue