Incorrect mapping for BLOB in JDBC
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Java
- Estrellas
- 3.3k
- Forks
- 676
- Merge medio
- 1 d 15 h
- PR fusionados (30 d)
- 18
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de xerial/sqlite-jdbc
-
triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
xerial/sqlite-jdbc#1515 ·
Los mantenedores suelen responder en 1 día
-
triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
xerial/sqlite-jdbc#1514 ·
Los mantenedores suelen responder en 1 día
-
triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
xerial/sqlite-jdbc#1513 ·
Los mantenedores suelen responder en 1 día
-
triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
xerial/sqlite-jdbc#1512 ·
Los mantenedores suelen responder en 1 día
-
SIGSEGV (exit 134) in bundled `rightstr()` when the length argument is a large negative numberPosiblemente ocupada @sarthakdev143-lite la tomó hace 1 día. Abiertohelp wanted impacts:JNI
Dificultad 4/5 1-2 días Aptitud para principiantes 38/100
xerial/sqlite-jdbc#1508 ·
Los mantenedores suelen responder en 1 día
Todos los issues de xerial/sqlite-jdbc
Issues similares
-
Area/Configuration Type/Improvement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ballerina-platform/static-code-analysis-tool#217 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
eclipse-dirigible/dirigible#8636 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug severity-medium XS
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
nikolas-charalambidis/facepalm-maven-plugin#291 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
OakLoaf/PluginUpdater#264 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: withStartupTimeout() changes the startup timeout of all containers that use the default wait strategyPosiblemente ocupada @aymenjamaaoui la tomó hoy. Abiertotype/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
testcontainers/testcontainers-java#12171 ·
Los mantenedores suelen responder en 1 día