org.hibernate.test.instrument.runtimeJavassistInstrumentationTest#testLazyBasicPropertyAccess is failing on MySQL and MariaDB because it has a property mapped as: {{ <property name="sizeKb" lazy="true"> <column name="size_mb" read="size_mb * 1024.0" write="? / cast( 1024.0 as float )"/> </property>}} MySQL and MariaDB do not allow casting as float. The purpose of the test is to test lazy basic properties. The custom read/write is not important to this test so <column/> can simply be removed. Tests intended for testing custom read/write use a different mapping file. |