SQLException: The prepared statement has been finalized
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start with org.sqlite.core.DB.execute, CoreStatement.exec, and JDBC3Statement.execute from the stack trace, then compare how the JDBC driver handles the ; query with the CLI. Use the supplied Java reproduction to confirm the finalized-statement error; done means the JDBC behavior is understood and the issue's expected behavior is resolved.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi, when I execute the query ";" in the JDBC and get the "The prepared statement has been finalized" error, but there is no error when I execute the query ";" in the cli.
Reproducible test case:
...
Connection connection = connection = DriverManager.getConnection("jdbc:sqlite:sample.db");
Statement statement = connection.createStatement();
statement.executeUpdate(";");
...
The stack trace:
java.lang.AssertionError: ;
at Sample.Main(Sample.java:17)
Caused by: java.sql.SQLException: The prepared statement has been finalized
at org.sqlite.core.NativeDB.throwex(NativeDB.java:406)
at org.sqlite.core.NativeDB.step(Native Method)
at org.sqlite.core.DB.execute(DB.java:962)
at org.sqlite.core.CoreStatement.exec(CoreStatement.java:74)
at org.sqlite.jdbc3.JDBC3Statement.execute(JDBC3Statement.java:41)
SQLite3 JDBC version:
3.36.0.3
Is it expected?
- 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