HHH-5593 org.hibernate.test.legacy.FooBarTest.testCollectionWhere fails on hsqldb

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20699 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Strong Liu 2010-09-25 07:57:56 +00:00
parent 5ee8c0fc75
commit 834551b33e
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@
<element column="map_value" type="date"/>
</map>
<array name="fooArray" element-class="org.hibernate.test.legacy.FooProxy" where="i&lt;8" check="i>=0">
<array name="fooArray" table="FOO_ARRAY" element-class="org.hibernate.test.legacy.FooProxy" where="i&lt;8" check="i>=0">
<!--cache-->
<key column="id_"/>
<index column="i"/>

View File

@ -2038,7 +2038,7 @@ public class FooBarTest extends LegacyTestCase {
String bazid = baz.getCode();
s.delete(baz);
int rows=s.connection().createStatement().executeUpdate(
"delete from fooArray where id_='" + bazid + "' and i>=8"
"delete from FOO_ARRAY where id_='" + bazid + "' and i>=8"
);
assertTrue(rows==1);
s.getTransaction().commit();