So I’m using Hibernate 5.6.3 via spring boot with Java 8 and I’m using a JPA repository and using an native update method that does a merge into using Oracle (19C)
Whenever a field that’s declared as a LocalDate in the POJO has a null value this is being passed to Oracle as a binary.
“ORA-00932: inconsistent datatypes: expected TIMESTAMP got BINARY”
Is there a workaround for this?
It’s only happening when the underlying nullable value is a null.
In the database the field is declared as a TIMESTAMP(6)