HHH-10325 : Test failure on MySQL and MariaDB because they do not allow casting as float type
This commit is contained in:
parent
377ba9a8c0
commit
8de9ca0549
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue