I am using sqlite with java on raspberry pi with sqlite-jdbc-3.7.2.jar. And also i have included the .so file for arm build in the directory where my jar file is placed. I am able to connect sqlite with java. But this method DriverManager.getConnection("jdbc:sqlite:TempDatabase.db") is taking too long to connect to the database, somewhere near 6-7 seconds. Once connected to the database, the database operations such as insertion, retrieval etc are fast. But why is it taking too long to connect?
Please, can anybody share some solution to this problem?
Aucun commentaire:
Enregistrer un commentaire