Incorrect mapping for BLOB in JDBC
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
調査の方向性
Start by checking the ResultSetMetaData and DatabaseMetaData.getTypeInfo() mappings named in the issue, then compare their JDBC type codes with Appendix B of the JDBC 4.2 specification. Also review issue #182 for the related mapping mentioned there. Done means all affected BLOB mappings follow the specification and SQLite BLOB values are reported with the appropriate type.
索引モデルが issue の本文から書いたものです。
説明
In JDBC specification ( http://download.oracle.com/otndocs/jcp/jdbc-4_2-mrel2-spec/index.html ) Appendix B, Types.BLOB type needs to be mapped to java.sql.Blob. In SQLite driver, it is mapped to byte[].
The main reason is that BLOB in SQLITE should be Types.VARBYTE instead of Types.BLOB.
This incorrect mapping is in several places. Here are the places that I am aware of
- ResultSetMetaData()
- DatabaseMetaData.getTypeInfo()
Issue #182 also mentions incorrect mapping in a place. I am opening a new issue since I think that this problem is a much more general issue.
- 主要言語
- Java
- スター
- 3.3k
- フォーク
- 676
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 18
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
xerial/sqlite-jdbc のほかの issue
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
xerial/sqlite-jdbc#1515 ·
メンテナーはふだん 1 日以内に返信
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
xerial/sqlite-jdbc#1514 ·
メンテナーはふだん 1 日以内に返信
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
xerial/sqlite-jdbc#1513 ·
メンテナーはふだん 1 日以内に返信
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
xerial/sqlite-jdbc#1512 ·
メンテナーはふだん 1 日以内に返信
-
SIGSEGV (exit 134) in bundled `rightstr()` when the length argument is a large negative number対応中かも @sarthakdev143-lite が 1 日前に担当しました。 オープンhelp wanted impacts:JNI
難易度 4/5 1〜2日 初心者へのやさしさ 38/100
xerial/sqlite-jdbc#1508 ·
メンテナーはふだん 1 日以内に返信
xerial/sqlite-jdbc の issue をすべて見る
似ている issue
-
Area/Configuration Type/Improvement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ballerina-platform/static-code-analysis-tool#217 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
eclipse-dirigible/dirigible#8636 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug severity-medium XS
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
nikolas-charalambidis/facepalm-maven-plugin#291 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
OakLoaf/PluginUpdater#264 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: withStartupTimeout() changes the startup timeout of all containers that use the default wait strategy対応中かも @aymenjamaaoui が今日担当しました。 オープンtype/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
testcontainers/testcontainers-java#12171 ·
メンテナーはふだん 1 日以内に返信