pubicvoidonCreate(SqliterDatabasedb){

db.beginTransaction();

try{

//批量处理操作

}db.setTansactionSuccessful();

fianlly{

db.endTransaction();

}

}