Hi all, i need to use the SqliteDataBase from from multiple threads.
According the the sqlite documentation sqlite is threadsafe if it's
compiled with SQLITE_THREADSAFE = 1 and in android this can be done by
calling SQLiteDatabase.setLockingEnabled(true) ( the default value is
also true so it works even if you don't call it). So i need different
sqlite connection for all threads that will be using the database. How
can i open multiple database connections with getWritableDatabase() i
got Exception -  Leak found ... SQLiteDatabase created and never
closed

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to