javasqliteapache-cayenne

Using existing SQLite database in Cayenne


I've been playing around with Apache Cayenne in an IntelliJ project. I configure the JDBC in the datanode like in the image but it gives me an error the screen

I have the Cayenne project stored in my IntelliJ project folder, as well as the SQLite database "data.db".

Can anyone help me figuring out this?


Solution

  • You need to tell CayenneModeler GUI where to find SQLite jar. To do that on Windows, go to Tools > Preferences > ClassPath and add a path to your SQLLite jar.