Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLITE_TOOBIG since upgrad to java 21 and 3.48.1.0 #1108

Closed
andreasholzgethan opened this issue May 8, 2024 · 2 comments
Closed

SQLITE_TOOBIG since upgrad to java 21 and 3.48.1.0 #1108

andreasholzgethan opened this issue May 8, 2024 · 2 comments

Comments

@andreasholzgethan
Copy link

Hi everyone,

in our project we have struggles since we've upgraded our versions.
We've upgraded the sqlite-jdbc from 3.28.0 to 3.48.1.0 and the Java Version from 1.8 to 21.

Since this upgrade we are getting the following errors:
Cause: org.sqlite.SQLiteException: [SQLITE_TOOBIG] String or BLOB exceeds size limit (statement too long)

With the versions 3.28.0 and 1.8 the same sql statement is working. May someone know why this is not working anymore?

Thanks!

Best
Andreas

@gotson
Copy link
Collaborator

gotson commented May 9, 2024

There is no such version as 3.48.1.0.

3.28.0 is from 2019, there are a lot of changes since then. Limits are enforced in SQLite now, you need to change them to allow higher limits if you don't want to shorten your statements.

@andreasholzgethan
Copy link
Author

Sorry my fault, I meant version 3.45.1.0 :)

Ok thanks for the fast answer! We will have a look on the limits.

Best Andreas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants