Author: stliu
Date: 2010-01-05 08:45:24 -0500 (Tue, 05 Jan 2010)
New Revision: 18411
Modified:
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/legacy/CustomSQL.hbm.xml
Log:
JBPAPP-3325 Role is a keyword on sybase
Modified:
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/legacy/CustomSQL.hbm.xml
===================================================================
---
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/legacy/CustomSQL.hbm.xml 2010-01-05
11:01:07 UTC (rev 18410)
+++
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/legacy/CustomSQL.hbm.xml 2010-01-05
13:45:24 UTC (rev 18411)
@@ -4,7 +4,7 @@
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping default-lazy="false"
package="org.hibernate.test.legacy">
- <class name="Role">
+ <class name="Role" table="`Role`">
<id name="id" type="long">
<generator class="native" />
@@ -38,8 +38,8 @@
deleteAllRoleBunchOfString(?)}</sql-delete-all>
</list>
- <sql-insert>insert into Role (name) values (?) /** i did
this*/</sql-insert>
- <sql-delete>delete from Role where id=?</sql-delete>
+ <sql-insert>insert into "Role" (name) values (?) /** i did
this*/</sql-insert>
+ <sql-delete>delete from "Role" where id=?</sql-delete>
</class>
Show replies by date