Skip to content

Conversation

@labkey-adam
Copy link
Contributor

Rationale

More research in the SQL Server JDBC issues list suggests a possible approach for sending Timestamps via JDBC using a standard string format that doesn't vary based on language settings. Turns out the 12.6.3 version of the JDBC driver introduced an issue where the driver failed to parse timestamps returned from the database when parameters were sent setting the explicit Types.TIMESTAMP type. (Ironically, the bug was introduced as part of the fix to a Timestamp + stored procedure issue that I filed earlier with the team.) That forced us to always omit the type when setting Timestamp parameters in our statement wrapper, which lead to the need to vary the timestamp format we sent based on locale. The latest (12.8.1) version fixes this issue, so I'm hopeful we can return to setting the explicit type which seems to then universally support the ISO-style format.

Related Pull Requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants