1
votes

SQL lite created by using the following code

   Database db = Database.openOrCreate("test.db");

Its creates the database, after that we created tables on this database. We need to know where is this test.db file stored?.

Note: we are using Net Beans IDE on windows 10 system for our development.

Thanks in advance

2

2 Answers

0
votes

We can get the .db file from the path "C:\Users\Admin.cn1\database".

0
votes

This is discussed in the SQL section. You need to use getDatabasePath before opening the database to replace the file with a premade file which I assume is the use case you are aiming at.