When I upgrade Numeric Overflow Exception occurs when migrate Hibernate from 5 .x to 6 , Numeric Overflow Exception occurs . 2.0.Final
*Database Column:*
NUMBER(10,0)
*Column data:*
' 3876543210 3210987654 '
*SQL:*
!p1.png|width=449,height=68!
*Exception:*
!p2.png|width=1367,height=145!
I found that the org.hibernate.OracleDialect always select selects Integer as JdbcType when precision = 10.
!image-20230406- 040731 071910 .png|width= 832 982 ,height= 437 352 !
Actually ' 3876543210 3210987654 ' is not a 32-bit- Integer data of but can be saved in column NUMER(10,0).
So I think it’s a bug, can you please help check it? |
|