Hibernate: Found: float, expected: double precision

前端 未结 8 1436
清歌不尽
清歌不尽 2020-12-16 21:28

I have a problem with the mapping of Oracle Float double precision datatype to Java Double datatype. The hibernate schema validator seems to fail when the Java Double dataty

8条回答
  •  盖世英雄少女心
    2020-12-16 21:38

    I had a case where my Oracle column type was NUMBER and the Java type was double.

    Finally traced that it was down to settings

    validate

    just changed it to

    update

    and everything worked!

提交回复
热议问题