LocalTimeTest#writeThenNativeRead and OffsetTimeTest#writeThenNativeRead tests are failing on SQL Server

Description

Assertion failures are similar to:

java.lang.AssertionError: Values written by Hibernate ORM should match the original value (same day, hour, ...) expected:<02:00:00> but was:<1900-01-01 02:00:00.0>

In both LocalTimeTest#getActualJdbcValue and OffsetTimeTest#getActualJdbcValue both return resultSet.getTimestamp( columnIndex ).

Changing both to return resultSet.getTime( columnIndex ) works on SQL Server, but fails on H2.

Environment

None

Activity

Show:
Gail Badner
August 13, 2019, 4:29 AM

Fix pushed to master and 5.3 branches.

Waiting for confirmation from CI that tests are passing.

Gail Badner
August 13, 2019, 6:09 PM

Verified as fixed.

Assignee

Gail Badner

Reporter

Gail Badner

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure