docs: port JDBC readonly profiles and JSON type notes from upstream#226
Open
mintlify[bot] wants to merge 1 commit into
Open
docs: port JDBC readonly profiles and JSON type notes from upstream#226mintlify[bot] wants to merge 1 commit into
mintlify[bot] wants to merge 1 commit into
Conversation
3 tasks
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ports upstream clickhouse-docs#6416 ("[Java] update JDBC docs.") to the Mintlify docs.
Changes
integrations/language-clients/java/jdbc.mdx:readonly=2when users need to pass format settings (e.g. reading JSON as String). Links to/operations/settings/constraints-on-settings#read-only.Map<String, Object>mapping, thejdbc_read_json_as_string/OUTPUT_FORMAT_BINARY_WRITE_JSON_AS_STRINGoption to read JSON asString, and JSON number quoting behavior in ClickHouse 25.8+ vs older servers (output_format_json_quote_64bit_integers,_64bit_floats,_decimals).Content ported verbatim from the upstream diff. i18n translation directories were not touched per instructions.
Context
Upstream merge commit:
900f85b1f90048eb25727af0e89b37b9b73e57b0. Closes ClickHouse/clickhouse-java#2760 upstream.Note:
mint validateandmint broken-linksboth timed out locally on this repo, so the changes were not validated through the CLI — they are pure additive markdown/code-fence content with one internal link that resolves to an existing slug and anchor.Note
Low Risk
Documentation-only additive content in the Java JDBC integration page; no runtime or configuration code changes.
Overview
Ports upstream JDBC documentation into
integrations/language-clients/java/jdbc.mdx.Under Connection Properties, a Readonly Profiles note explains why the driver avoids default connection settings and recommends
readonly=2when users need format-related server settings (e.g. reading JSON asString), with a link to the read-only settings constraints doc.Under Special Types, a new JSON Type section documents the default
Map<String, Object>mapping with an example, theOUTPUT_FORMAT_BINARY_WRITE_JSON_AS_STRING/ connection-property path to read JSON asString, and JSON number quoting behavior on ClickHouse 25.8+ versus older servers viaoutput_format_json_quote_*server settings.Reviewed by Cursor Bugbot for commit cfb67bc. Bugbot is set up for automated code reviews on this repo. Configure here.