public Transaction(SQLiteDatabase database){
  mDatabase=database;
  mIsSuccess=true;
  mDatabase.beginTransaction();
}

public Transaction ( SQLiteDatabase database ) { mDatabase = database ; mIsSuccess = true ; mDatabase . beginTransaction ( ) ; }
create a new transaction
