I have migrated the testcase from hibernate 4 to 5. I have added it to the call. This test leads to the following DB2 error in my environment: ERROR: DB2 SQL Error: SQLCODE=-420, SQLSTATE=22018, SQLERRMC=DECFLOAT, DRIVER=4.7.112 ... at hibernate.testcase.inheritance.CheckInheritanceFault.testHQL(CheckInheritanceFault.java:59) ... SQL-Query: select aentity0_.Oid as Oid1_0_, aentity0_.A as A1_1_, aentity0_.B as B2_1_, aentity0_.B as B1_2_, aentity0_.C as C2_2_, aentity0_.clazz_ as clazz_ from ( select Oid, A, B, nullif('x','x') as C, 1 as clazz_ from springma2.B union all select Oid, nullif(0,0) as A, B, C, 2 as clazz_ from springma2.C ) aentity0_ |