Jan Schatteman (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMmJjMTZjNTc3...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16131?atlOrigin=eyJpIjoiMmJjMT...
) HHH-16131 (
https://hibernate.atlassian.net/browse/HHH-16131?atlOrigin=eyJpIjoiMmJjMT...
) Date calculation errors in Oracle and TiDB (
https://hibernate.atlassian.net/browse/HHH-16131?atlOrigin=eyJpIjoiMmJjMT...
)
Issue Type: Bug Affects Versions: 6.2.0.CR2 Assignee: Jan Schatteman (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Created: 02/Feb/2023 07:11 AM Priority: Major Reporter: Jan Schatteman (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
`FunctionsTests.#testDurationArithmetic{{` fails}}
On TiDB:
java.lang.AssertionError: expected:<2023-02-28> but was:<2023-03-02>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:120)
at org.junit.Assert.assertEquals(Assert.java:146)
at
org.hibernate.orm.test.query.hql.FunctionTests.lambda$testDurationArithmetic$62(FunctionTests.java:1323)
On Oracle:
select (current_date+numtoyminterval(1, 'month' )) from dual, Error Msg =
ORA-01839: date not valid for month specified
(
https://hibernate.atlassian.net/browse/HHH-16131#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16131#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#100214- sha1:fcee39f )