HHH-6700 mysql test failures
This commit is contained in:
parent
05b815c5f5
commit
5f494d4fca
|
@ -30,7 +30,7 @@
|
|||
|
||||
<class name="Node">
|
||||
|
||||
<id name="id">
|
||||
<id name="id" length="16">
|
||||
<generator class="uuid2"/>
|
||||
</id>
|
||||
<property name="name"/>
|
||||
|
|
|
@ -71,6 +71,7 @@ public abstract class AbstractEntityWithManyToManyTest extends BaseCoreFunctiona
|
|||
}
|
||||
isPlanVersioned = sessionFactory().getEntityPersister( Plan.class.getName() ).isVersioned();
|
||||
isContractVersioned = sessionFactory().getEntityPersister( Contract.class.getName() ).isVersioned();
|
||||
sessionFactory().getStatistics().clear();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
@ -117,14 +117,14 @@
|
|||
<property name="length" column="flength"/>
|
||||
</class>
|
||||
|
||||
<class name="TextHolder">
|
||||
<class name="TextHolder" table="TEXT_HOLDER">
|
||||
<id name="id" column="id">
|
||||
<generator class="increment"/>
|
||||
</id>
|
||||
<property name="description" type="text" length="15000"/>
|
||||
</class>
|
||||
|
||||
<class name="ImageHolder">
|
||||
<class name="ImageHolder" table="IMAGE_HOLDER">
|
||||
<id name="id" column="id">
|
||||
<generator class="increment"/>
|
||||
</id>
|
||||
|
|
|
@ -107,11 +107,11 @@ public class NativeSQLQueriesTest extends BaseCoreFunctionalTestCase {
|
|||
}
|
||||
|
||||
protected String getDescriptionsSQL() {
|
||||
return "select DESCRIPTION from TEXTHOLDER";
|
||||
return "select DESCRIPTION from TEXT_HOLDER";
|
||||
}
|
||||
|
||||
protected String getPhotosSQL() {
|
||||
return "select PHOTO from IMAGEHOLDER";
|
||||
return "select PHOTO from IMAGE_HOLDER";
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<hibernate-mapping package="org.hibernate.test.tm">
|
||||
|
||||
<class entity-name="Item" table="Things">
|
||||
<class entity-name="Item">
|
||||
<id name="name" type="string"/>
|
||||
<property name="description" type="string"/>
|
||||
</class>
|
||||
|
|
Loading…
Reference in New Issue