I know that setting the database name for a SQLite database means setting the path to the DB file. I set it like this:
db.setDatabaseName(\"DienstplanerDB.sqlite
a sudo find / -name "DienstplanerDB.sqlite" spit out that the Database was created within the app package.
sudo find / -name "DienstplanerDB.sqlite"
If you want to access it, right click on the "YourPorgram.app" and select "Show package content".
The Database could be found at Contents/MacOS/yourDatabase.db