Skip to content

Support IBM JDBC URL separators in DB2 connection URI parser - #1686

Open
jnbdz wants to merge 2 commits into
eclipse-vertx:masterfrom
SiteNetSoft:db2-uri-separators
Open

Support IBM JDBC URL separators in DB2 connection URI parser#1686
jnbdz wants to merge 2 commits into
eclipse-vertx:masterfrom
SiteNetSoft:db2-uri-separators

Conversation

@jnbdz

@jnbdz jnbdz commented Aug 10, 2026

Copy link
Copy Markdown

The DB2 connection URI parser only accepted query-string style attributes (?key=value&key=value). IBM's documented URL syntax uses a colon to separate the database from the connection attributes and semicolons between key/value pairs:

db2://host:port/database:user=app;password=secret;

Accept this form in addition to the existing one. The attribute block is only allowed after a database name, and mixing it with & separators is rejected.

Fixes #1118

jnbdz and others added 2 commits August 9, 2026 22:24
The DB2 connection URI parser only accepted query-string style
attributes (?key=value&key=value). IBM's documented URL syntax uses a
colon to separate the database from the connection attributes and
semicolons between key/value pairs:

  db2://host:port/database:user=app;password=secret;

Accept this form in addition to the existing one. The attribute block
is only allowed after a database name, and mixing it with & separators
is rejected.

Fixes eclipse-vertx#1118

Assisted-by: Anthropic Claude Fable (claude-fable-5)
Signed-off-by: jnbdz <jn@yaloub.com>
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.

DB2ConnectionUriParser doesn't support standard DB2 URL character separators

1 participant