HHH-10325 : Test failure on MySQL and MariaDB because they do not allow casting as float type

This commit is contained in:
Gail Badner 2015-11-23 23:30:04 -08:00
parent 377ba9a8c0
commit 8de9ca0549
1 changed files with 1 additions and 5 deletions

View File

@ -59,11 +59,7 @@
<many-to-one name="owner" not-null="true" lazy="no-proxy" fetch="select"/>
<property name="text" not-null="true" length="2000" lazy="true"/>
<property name="lastTextModification" not-null="true" lazy="true" access="field"/>
<property name="sizeKb" lazy="true">
<column name="size_mb"
read="size_mb * 1024.0"
write="? / cast( 1024.0 as float )"/>
</property>
<property name="sizeKb" lazy="true"/>
</class>
<class name="Entity" table="entity">