Skip to content

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

Merged
tsegismont merged 2 commits into
eclipse-vertx:masterfrom
SiteNetSoft:db2-uri-separators
Sep 10, 2026
Merged

Support IBM JDBC URL separators in DB2 connection URI parser#1686
tsegismont merged 2 commits into
eclipse-vertx:masterfrom
SiteNetSoft:db2-uri-separators

Conversation

@jnbdz

@jnbdz jnbdz commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

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>

@tsegismont tsegismont left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@tsegismont
tsegismont merged commit f4a5779 into eclipse-vertx:master Sep 10, 2026
19 checks passed
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

2 participants