I have an sqlite database that might be accessed by multiple concurrent 
threads. I saw this blog post: 
https://www.codenameone.com/blog/threadsafe-sqlite.html but the 
ThreadSafeDatabase 
class is deprecated 
https://www.codenameone.com/javadoc/com/codename1/db/ThreadSafeDatabase.html
 . 
So what is the current recommanded way to create a Database object that may 
be accessed through multiple threads? 
Also does the warning found into the CN1 documentation regarding the usage 
of SQLite with iOS notifying that "The biggest issue with SQLite 
portability is in iOS. The SQLite version for most platforms is threadsafe 
and as a result very stable. However, the iOS version is not! This might 
not seem like a big deal normally, however if you forget to close a 
connection the GC might close it for you thus producing a crash. This is 
such a common occurrence that Codename One logs a warning when the GC 
collects a database resource on the simulator" still hold or is the iOS 
version threadsafe now, like with other platforms?

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/2d809312-a741-4217-8f07-3803c4ef287a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to