db.beginTransaction(); try { for (...) { db.execSQL("...", new Object[]{}); } db.setTransactionSuccessful(); } catch (Exception e) { } finally { db.endTransaction(); }
原文地址:https://www.cnblogs.com/nodegis/p/10579925.html
时间: 2024-10-11 11:18:41
db.beginTransaction(); try { for (...) { db.execSQL("...", new Object[]{}); } db.setTransactionSuccessful(); } catch (Exception e) { } finally { db.endTransaction(); }
原文地址:https://www.cnblogs.com/nodegis/p/10579925.html