Technology

Perform any DB operation in an isolated transaction

Hi Friends, Sometimes we need to perform any DB operation in between a transaction, but due to transaction's property, it's getting committed only once the parent transaction will be finished. If you need to perform any operation that need to be committed immediately, irrespective of parent transaction (Example : for a dependent...

by Anil Agarwal
Tag: Transaction
28-Jul-2015

Android

SQLite Locking and Transaction Handling in Android

SQLite locking concept comes when we access database from multiple threads. What things should we keep in our mind while designing the database in android, let's see. firstly we create a helper class which extends SQLiteHelper class: [code language="java"] public class DatabaseHelper extends SQLiteOpenHelper { ... } [/code] Now...

by Akhilesh Dubey
Tag: Transaction
19-Apr-2015