Morgan PEYRE (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=712020%...
) *updated* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiZjdmMmQzZDU5...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16927?atlOrigin=eyJpIjoiZjdmMm...
) HHH-16927 (
https://hibernate.atlassian.net/browse/HHH-16927?atlOrigin=eyJpIjoiZjdmMm...
) Some NUMBER column types now get mapped to Boolean/Integer/Long instead of BigDecimal (
https://hibernate.atlassian.net/browse/HHH-16927?atlOrigin=eyJpIjoiZjdmMm...
)
Change By: Morgan PEYRE (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=712020%...
)
It seems that some type mappings have changed between Hibernate versions 5 and 6, is this
intentional ? Here are some of the changes I’ve noticed when parsing NativeQuery results
:
||*SQL Data type*||*Java type (Hibernate 5)*||*Java type (Hibernate 6)*||
|NUMBER(19,0)|java.math.BigDecimal|java.lang.Long|
|NUMBER(1,0)|java.math.BigDecimal|java.lang.Integer or java.lang.Boolean|
(
https://hibernate.atlassian.net/browse/HHH-16927#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16927#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100231- sha1:2d13be9 )