I found the problem : In fact I forgot well one "close" call.

Sorry

Fabrice


-----Message d'origine-----
De : sqlite-users-boun...@sqlite.org
[mailto:sqlite-users-boun...@sqlite.org] De la part de Fabrice MAUPIN
Envoyé : mercredi 27 août 2014 15:27
À : 'General Discussion of SQLite Database'
Cc : 'Alex Trucy'
Objet : Re: [sqlite] Database is locked !

For information, you will find the "SQLiteJdbc" class used.

I verified (normally) after each statement there is a db.close().

Fabrice


-----Message d'origine-----
De : sqlite-users-boun...@sqlite.org
[mailto:sqlite-users-boun...@sqlite.org] De la part de J Decker Envoyé :
mercredi 27 août 2014 15:19 À : General Discussion of SQLite Database Cc :
Alex Trucy Objet : Re: [sqlite] Database is locked !


Sounds like you have statements laying around that weren't properly
destroyed... you say executed correctly, but then also released correctly?


On Wed, Aug 27, 2014 at 6:14 AM, Fabrice MAUPIN <fmau...@iback.fr> wrote:

> Hi all,
>
>
>
> I try to execute an "INSERT" query and I obtain this message : 
> "Database is locked".
>
>
>
> I verified all the previous connections which were opened were closed 
> and all the previous statements were correctly executed (UPDATE, 
> INSERT,
.).
>
>
>
> The volume of data to be handled is very low.
>
>
>
> For information my configuration :
>
>
> Windows 7 Pro french x64
>
> Eclipse LUNA (4.4) x64
>
> JavaFX8
>
> Sqlite-jdbc-3.7.15-M1.jar
>
>
>
> What are the use cases which could reveal this message (to part them 
> missing
> "close") ?
>
>
>
> If you have a idea.
>
>
>
> Thanks
>
>
>
> Fabrice
>
>
>
>
>
>
>
>
>
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to