Skip to content

[JAVA] JDBC note update. #6418

Merged
chernser merged 1 commit into
mainfrom
06/18/26/jdbc_typeinfo_note
Jun 18, 2026
Merged

[JAVA] JDBC note update. #6418
chernser merged 1 commit into
mainfrom
06/18/26/jdbc_typeinfo_note

Conversation

@chernser

@chernser chernser commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds note to JDBC doc about differences in type info between v1 and v2

Checklist


Note

Low Risk
Documentation-only change to the JDBC integration guide; no runtime or API code is modified.

Overview
The JDBC migration guide’s Database Metadata Changes section now documents a V1 vs V2 difference for DatabaseMetaData.getTypeInfo(): in V2, LITERAL_PREFIX and LITERAL_SUFFIX are null for types that should not use literal quoting (e.g. numeric types), whereas V1 returned non-null values. The note clarifies that tools generating SQL should rely on these columns when quoting literals by type.

Reviewed by Cursor Bugbot for commit 3b45464. Bugbot is set up for automated code reviews on this repo. Configure here.

@chernser chernser requested review from a team as code owners June 18, 2026 20:55
@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clickhouse-docs Ready Ready Preview, Comment Jun 18, 2026 9:09pm
4 Skipped Deployments
Project Deployment Actions Updated (UTC)
clickhouse-docs-jp Ignored Ignored Jun 18, 2026 9:09pm
clickhouse-docs-ko Ignored Ignored Jun 18, 2026 9:09pm
clickhouse-docs-ru Ignored Ignored Jun 18, 2026 9:09pm
clickhouse-docs-zh Ignored Ignored Jun 18, 2026 9:09pm

Request Review

@chernser chernser merged commit d79af8b into main Jun 18, 2026
19 checks passed
@chernser chernser deleted the 06/18/26/jdbc_typeinfo_note branch June 18, 2026 23:21
@mintlify

mintlify Bot commented Jun 18, 2026

Copy link
Copy Markdown

Docs PR opened: ClickHouse/mintlify-docs-dev#228

Added a JDBC V2 note explaining that getTypeInfo now returns null for LITERAL_PREFIX and LITERAL_SUFFIX on numeric types.

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