Open gavinking opened 4 years ago
thanks for reporting this one, I'll look into it and at min get the codepoint documented so users get a proper error message.
Oh, geez, my apologies @aguibert, I just realized that this problem isn't related to batching at all. It's something to do with BigDecimal
. I should have looked more closely at the time!
@aguibert I was able to re-enable the test after making this change:
https://github.com/hibernate/hibernate-reactive/commit/546a22c08af552804c09ad0fa80ba1617207e284
Apparently the driver chokes on certain numerical values of the BigDecimal
.
ah, yea I've spent many hours debugging decimal issues.
Here is the relevant documentation for DB2 decimal number precision: https://www.ibm.com/support/knowledgecenter/SSEPGG_11.5.0/com.ibm.db2.luw.sql.ref.doc/doc/r0008469.html
DB2 uses IBM hexadecimal floating point format which is different than IEEE 754 which pretty much everything else uses.
To be clear though, the stacktrace in the OP is what you get when you try to store this certain BigDecimal value?
the stacktrace in the OP is what you get when you try to store this certain BigDecimal value?
Yup.
I had to disable this test in Hibernate Reactive on DB2, due to the following error: