I have written below java code in my JPA repository.
@Query("insert into table (date_colum) value(:dateValue)",nativeQuery= true)
public int insertData(@Param("dateValue") dateValue);
Above code is working perfect when dateValue column is having some value. But when value of dateValue cloumn is null in that case it will giving the below error .
Error : ora-00932 inconsistent datatypes expected date got binary
Any solution please , help is appreciate.
Subscribe to get latest updates