1 | AndroidDatabaseConnection db = new AndroidDatabaseConnection( |
2 | getSQLiteDatabase(), true ); |
3 | db.setAutoCommit( false ); |
4 | for (ChannelDate cd : listChannelDate) { |
5 | cdao.createOrUpdate(cd); |
6 | } |
7 | db.commit( null ); |