On Friday, March 29, 2019 at 4:31:27 AM UTC+1, Shai Almog wrote: > > We made some improvements to that but still strongly recommend writing to > the database from a single thread. EasyThread is a relatively simple > solution for that and it can be implemented in the level of the data access > class. E.g. instead of calling SQL directly just call a wrapper class that > does the SQL operation for you. That class can use EasyThread to make sure > it's on the right thread and do the operation there. >
Isn't it exactly what the ThreadSafeDatabase class is doing (wrapping all SQL operations calls into an EasyThread queue)? If so, why has it been tagged as deprecated then? -- 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 [email protected]. 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/8984a22b-9b6a-41fd-af3c-dd1d7b62720b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
