Skip to content

[FEATURE REQUEST] provide localSocketAddress property  #2146

Open
@bmarwell

Description

@bmarwell

Is your feature request related to a problem? If so, please give a short summary of the problem and how the feature would resolve it

When default routing is not sufficient, asking the driver to use a specific interface (either via interface name or IP or dns name) is useful.

Describe the preferred solution

Add a JDBC driver property localSocketAddress.
Allowed values

  • (must) IPv4 or IPv6 address
  • (must) dns name
  • (very optional) interface name

Describe alternatives you've considered

./.
None available, I am using Open Liberty.
Most drivers do support this already.

Additional context

See below

Reference Documentations/Specifications

Reference Implementation

Unknown, but a lot of drivers already support this exact JDBC property.

Activity

added
EnhancementAn enhancement to the driver. Lower priority than bugs.
on Jun 13, 2023
tkyc

tkyc commented on Jun 13, 2023

@tkyc
Contributor

We'll visit this in planning and let you know if we'll take up work on this.

self-assigned this
on Jun 16, 2023
linked a pull request that will close this issue on Jun 20, 2023
linked a pull request that will close this issuelocalSocketAddress implementation #2152on Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementAn enhancement to the driver. Lower priority than bugs.

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @bmarwell@tkyc

      Issue actions

        [FEATURE REQUEST] provide localSocketAddress property · Issue #2146 · microsoft/mssql-jdbc