Simplify JDBC classes and interfaces
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 18/100
Línea de trabajo
Start by reading the JDBC class hierarchy in org.sqlite.core, org.sqlite.jdbc3, and org.sqlite.jdbc4, including the Statement and PreparedStatement examples named in the issue. Then trace dependencies from core into jdbc4 and review the history of Java and JDBC support. The issue asks for architectural direction on consolidating packages and deciding where other org.sqlite classes belong; it does not define a specific completion criterion.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
While looking at #735 i noticed that we have similar classes in org.sqlite.core, org.sqlite.jdbc3 and org.sqlite.jdbc4.
For example for Statement:
abstract class CoreStatementabstract class JDBC3Statement extends CoreStatementclass JDBC4Statement extends JDBC3Statement implements Statement
And for PreparedStatement:
abstract class CorePreparedStatement extends JDBC4Statementabstract class JDBC3PreparedStatement extends CorePreparedStatementclass JDBC4PreparedStatement extends JDBC3PreparedStatement implements PreparedStatement, ParameterMetaData
That seems like a mess to me:
JDBC3Statementimplements some methods fromStatementwhile it doesn't implement the interfaceCorePreparedStatementincorepackage depends onjdbc4package
I'm not sure what's the intended use of the core package, as it would always have dependencies on java.sql anyway.
There are also some classes within org.sqlite like SQLiteConnection or SQLiteDataSource.
I suppose there's some history behind that:
- JDBC 4 was introduced in version
3.8.2along with Java 6 - moved to Java 8 in version
3.32.3.3
While i am no expert in JDBC, it seems JDBC 4.2 shipped with Java 8.
Given we only support Java 8, we could probably remove the JDBC3 package, and have a single JDBC4 package instead.
I'm not sure what to do with the core package or the classes that are in org.sqlite to be honest.
If anyone wants to chime in, I would be interested to hear your thoughts.
- 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