HHH-13557 : LocalTimeTest#writeThenNativeRead and OffsetTimeTest#writeThenNativeRead tests are failing on SQL Server

This commit is contained in:
Gail Badner 2019-08-09 17:09:00 -07:00
parent dbb94d8066
commit c703bbede1
2 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ public class LocalTimeTest extends AbstractJavaTimeTypeTest<LocalTime, LocalTime
@Override @Override
protected Object getActualJdbcValue(ResultSet resultSet, int columnIndex) throws SQLException { protected Object getActualJdbcValue(ResultSet resultSet, int columnIndex) throws SQLException {
return resultSet.getTimestamp( columnIndex ); return resultSet.getTime( columnIndex );
} }
@Override @Override

View File

@ -204,7 +204,7 @@ public class OffsetTimeTest extends AbstractJavaTimeTypeTest<OffsetTime, OffsetT
@Override @Override
protected Object getActualJdbcValue(ResultSet resultSet, int columnIndex) throws SQLException { protected Object getActualJdbcValue(ResultSet resultSet, int columnIndex) throws SQLException {
return resultSet.getTimestamp( columnIndex ); return resultSet.getTime( columnIndex );
} }
@Override @Override