Java Code Examples for de.greenrobot.dao.AbstractDao#insertInTx()

The following examples show how to use de.greenrobot.dao.AbstractDao#insertInTx() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: GreenDaoUtils.java    From UltimateAndroid with Apache License 2.0 4 votes vote down vote up
public static void insert(AbstractDao dao, List entities) {
    dao.insertInTx(entities);
}
 
Example 2
Source File: GreenDaoUtils.java    From UltimateAndroid with Apache License 2.0 2 votes vote down vote up
/**
 * Insert an entity into the table associated with a concrete DAO.
 * @param dao
 * @param entities
 */
public static void insert(AbstractDao dao, List entities) {
    dao.insertInTx(entities);
}
 
Example 3
Source File: GreenDaoUtils.java    From UltimateAndroid with Apache License 2.0 2 votes vote down vote up
/**
 * Insert an entity into the table associated with a concrete DAO.
 * @param dao
 * @param entities
 */
public static void insert(AbstractDao dao, List entities) {
    dao.insertInTx(entities);
}