Simplify JDBC classes and interfaces
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 18/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Java
- Star
- 3.3k
- Fork
- 676
- Merge trung bình
- 1 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 18
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của xerial/sqlite-jdbc
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
xerial/sqlite-jdbc#1515 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
xerial/sqlite-jdbc#1514 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
xerial/sqlite-jdbc#1513 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
xerial/sqlite-jdbc#1512 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
SIGSEGV (exit 134) in bundled `rightstr()` when the length argument is a large negative numberCó thể đã có người làm @sarthakdev143-lite đã nhận 2 ngày trước. Đang mởhelp wanted impacts:JNI
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 38/100
xerial/sqlite-jdbc#1508 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của xerial/sqlite-jdbc
Issue tương tự
-
hermes-queue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
chrisalunlloyd2-sudo/mindpalace#403 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Area/Configuration Type/Improvement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ballerina-platform/static-code-analysis-tool#217 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
SequenceEncoder: a value ending with a backslash swallows the tokens after it (“No state for trait”)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
vassalengine/vassal#15337 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
eclipse-dirigible/dirigible#8636 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug severity-medium XS
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
nikolas-charalambidis/facepalm-maven-plugin#291 ·
Maintainer thường phản hồi trong vòng 1 ngày