Čedomir Igaly (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-16578 (
https://hibernate.atlassian.net/browse/HHH-16578?atlOrigin=eyJpIjoiODhlNT...
)
Re: Incorrect validation error for tinyint, but and datetime (
https://hibernate.atlassian.net/browse/HHH-16578?atlOrigin=eyJpIjoiODhlNT...
)
Well, if integer and tinyint should be considered equivalent, then solution is very
simple. Just uncomment line 1530 in org.hibernate.dialect.Dialect.
// || isIntegral(typeCode1) && isIntegral(typeCode2)
It has been commented-out in commit 736dfac693ae56a854e620ee0ee02be31f88a4fe and replaced
with
isSmallOrTinyInt(typeCode1) && isSmallOrTinyInt(typeCode2) //special case
for HHH-15288 (
https://hibernate.atlassian.net/browse/HHH-15288 ) Closed migration
and six days later in commit 5089df203676657f51603d387fb55a65a916ac54 this added line has
been removed.
After uncommenting this line, test case will not fail.
(
https://hibernate.atlassian.net/browse/HHH-16578#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16578#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#100225- sha1:e4eb869 )