Skip to content

Commit 8de9ca0

Browse files
committed
HHH-10325 : Test failure on MySQL and MariaDB because they do not allow casting as float type
1 parent 377ba9a commit 8de9ca0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

hibernate-core/src/test/java/org/hibernate/test/instrument/domain/DocumentsPropAccess.hbm.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,7 @@
5959
<many-to-one name="owner" not-null="true" lazy="no-proxy" fetch="select"/>
6060
<property name="text" not-null="true" length="2000" lazy="true"/>
6161
<property name="lastTextModification" not-null="true" lazy="true" access="field"/>
62-
<property name="sizeKb" lazy="true">
63-
<column name="size_mb"
64-
read="size_mb * 1024.0"
65-
write="? / cast( 1024.0 as float )"/>
66-
</property>
62+
<property name="sizeKb" lazy="true"/>
6763
</class>
6864

6965
<class name="Entity" table="entity">

0 commit comments

Comments
 (0)