You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi can I get some help here would be really great, as this is blocking us from getting sqlite heap stats.
It would be good to add some example on how to add an extension to src/main/ext and use it.
I don't know if there is a JDBC way of doing this http://www.sqlite.org/c3ref/db_status.html
This is silly. Does anyone have an alternative driver that's maintained by more than one person? Or maybe a contributing guide so I can help make this usable?
Not being able to load extensions is kind of a huge issue.
This is silly. Does anyone have an alternative driver that's maintained by more than one person? Or maybe a contributing guide so I can help make this usable?
Not being able to load extensions is kind of a huge issue.
UPDATE: To clarify, OP is asking how to include a source file extension in the build. We do not support this as of now. What we do support is runtime loadable extension.
Activity
whatify-io commentedon May 24, 2023
Hi can I get some help here would be really great, as this is blocking us from getting sqlite heap stats.
It would be good to add some example on how to add an extension to src/main/ext and use it.
I don't know if there is a JDBC way of doing this http://www.sqlite.org/c3ref/db_status.html
whatify-io commentedon Jun 23, 2023
Hello anything someone can come with?
ieugen commentedon Jan 22, 2024
Hi @whatify-io , did you manage to find a solution to this?
ieugen commentedon Jan 22, 2024
it seems there is load_extension in JNI to allow loading of extensions.
sqlite-jdbc/src/main/java/org/sqlite/core/NativeDB.java
Line 108 in c024a88
Have your tried it @whatify-io ?
After calling it I imagine sqlite should allow for extension loading - even via SQL function.
sylv256 commentedon Oct 2, 2025
This is silly. Does anyone have an alternative driver that's maintained by more than one person? Or maybe a contributing guide so I can help make this usable?
Not being able to load extensions is kind of a huge issue.
gotson commentedon Oct 2, 2025
You just need to use load_extension in a statement.
UPDATE: To clarify, OP is asking how to include a source file extension in the build. We do not support this as of now. What we do support is runtime loadable extension.
gotson commentedon Oct 3, 2025
Documentation clarified: https://github.com/xerial/sqlite-jdbc/blob/master/USAGE.md#how-to-load-run-time-loadable-extensions