Skip to content

[FEATURE REQUEST] SQLServerBulkCopy OffsetDateTime Support #1363

@pbcornelius

Description

@pbcornelius

As the title suggests: implementation of OffsetDateTime support in SQLServerBulkCopy. It should be fairly simple to create a SQL Server DatetimeOffset from a Java OffsetDateTime in https://github.com/microsoft/mssql-jdbc/blob/dev/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerBulkCopy.java#L2828, and then pass that along.

Unfortunately this cannot easily be circumvented on the source side (for instance, by performing the conversion in the source ResultSet), because SQLServerBulkCopy casts the source to a SQLServerResultSet for type DatetimeOffset.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementAn enhancement to the driver. Lower priority than bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions