You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
12.4.2.jre11
Also tried with latest commit 974e4a1
SQL Server version
Microsoft SQL Server 2017 (RTM-CU13) (KB4466404) - 14.0.3048.4 (X64)
Nov 30 2018 12:57:58
Copyright (C) 2017 Microsoft Corporation
Developer Edition (64-bit) on Linux (Ubuntu 16.04.5 LTS)
Client Operating System
Linux/Mac OS
JAVA/JVM version
21
Table schema
create table dbo.test (c1 DATETIMEOFFSET(3));
Problem description
The JDBC driver returns incorrect results for old date time offsets when converting them to a java.time.OffsetDateTime.
Driver version
12.4.2.jre11
Also tried with latest commit 974e4a1
SQL Server version
Client Operating System
Linux/Mac OS
JAVA/JVM version
21
Table schema
Problem description
The JDBC driver returns incorrect results for old date time offsets when converting them to a java.time.OffsetDateTime.
Using
sqlcmd
:In Java:
Expected behavior
The inserted value should be returned when converting the
DateTimeOffset
to anOffsetDateTime
.Actual behavior
Values are shifted forward 10 days.
Error message/stack trace
N/A
Any other details that can be helpful
Relates to trinodb/trino#16559
JDBC trace logs
None for Statement or ResultSet classes.
The text was updated successfully, but these errors were encountered: