Hibernate: Found: float, expected: double precision

前端 未结 8 1432
清歌不尽
清歌不尽 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:39

    We had the same issue. We solved it by making sure to explicity set the column type in the mapping, like this:

    
      
    
    

提交回复
热议问题