I am almost finished writing a book on Java with the IntelliJ IDEA IDE, and the last chapter is to connect to a SQLite database. How do I perform an SQL query with the IntelliJ community edition on a SQLite database with IntelliJ community edition using Java?
If the DB Browser plugin is not compatible, is there another plugin that works with the community edition for SQLite databases?
I have DB browser installed and working. I don’t remember installing the jdbc driver, which means that I likely have not installed it. Do you a link to instructions for installing this driver? There are lots on google, with many being unreliable.
Eugene DBBrowser is for CE available. I just installed it on IntelliJIDea Community Edition. After install you can use it without any problem. Definitely.
For what you need for the DB Browser a DB Driver / Connector? I can not really understand this Idea. DBBrowser has the SQLite connector build in.
To use SQLite with your App you need to download the Connector Jar and add it to the project Libraries before you can use it. There are several tutorials for SQLite Connecting with Java.
I installed Database Navigator plugin, and was not able to find an example on how to run a query with the plugin.
When using the sqlite-jdbc-3.36.0.3.jar JDBC Driver, I was able to perform a successful SQLite query with this code:
Do you have any suggestions on how to make it work with Database Navigator, or is there a specific db navigator plugin that is being used that has documentation?