de.greenrobot.dao.identityscope.IdentityScopeType Java Examples
The following examples show how to use
de.greenrobot.dao.identityscope.IdentityScopeType.
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: DaoSession.java From AndroidDatabaseLibraryComparison with MIT License | 6 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); simpleAddressItemDaoConfig = daoConfigMap.get(SimpleAddressItemDao.class).clone(); simpleAddressItemDaoConfig.initIdentityScope(type); addressItemDaoConfig = daoConfigMap.get(AddressItemDao.class).clone(); addressItemDaoConfig.initIdentityScope(type); contactDaoConfig = daoConfigMap.get(ContactDao.class).clone(); contactDaoConfig.initIdentityScope(type); addressBookDaoConfig = daoConfigMap.get(AddressBookDao.class).clone(); addressBookDaoConfig.initIdentityScope(type); simpleAddressItemDao = new SimpleAddressItemDao(simpleAddressItemDaoConfig, this); addressItemDao = new AddressItemDao(addressItemDaoConfig, this); contactDao = new ContactDao(contactDaoConfig, this); addressBookDao = new AddressBookDao(addressBookDaoConfig, this); registerDao(SimpleAddressItem.class, simpleAddressItemDao); registerDao(AddressItem.class, addressItemDao); registerDao(Contact.class, contactDao); registerDao(AddressBook.class, addressBookDao); }
Example #2
Source File: DaoSession.java From NBAPlus with Apache License 2.0 | 6 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); greenNewsDaoConfig = daoConfigMap.get(GreenNewsDao.class).clone(); greenNewsDaoConfig.initIdentityScope(type); greenStatDaoConfig = daoConfigMap.get(GreenStatDao.class).clone(); greenStatDaoConfig.initIdentityScope(type); greenNewsDao = new GreenNewsDao(greenNewsDaoConfig, this); greenStatDao = new GreenStatDao(greenStatDaoConfig, this); registerDao(GreenNews.class, greenNewsDao); registerDao(GreenStat.class, greenStatDao); }
Example #3
Source File: DaoSession.java From sealtalk-android with MIT License | 6 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); friendDaoConfig = daoConfigMap.get(FriendDao.class).clone(); friendDaoConfig.initIdentityScope(type); groupsDaoConfig = daoConfigMap.get(GroupsDao.class).clone(); groupsDaoConfig.initIdentityScope(type); blackListDaoConfig = daoConfigMap.get(BlackListDao.class).clone(); blackListDaoConfig.initIdentityScope(type); friendDao = new FriendDao(friendDaoConfig, this); groupsDao = new GroupsDao(groupsDaoConfig, this); blackListDao = new BlackListDao(blackListDaoConfig, this); registerDao(Friend.class, friendDao); registerDao(Groups.class, groupsDao); registerDao(BlackList.class, blackListDao); }
Example #4
Source File: DaoSession.java From SweetMusicPlayer with Apache License 2.0 | 6 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); musicInfoDaoConfig = daoConfigMap.get(MusicInfoDao.class).clone(); musicInfoDaoConfig.initIdentityScope(type); albumInfoDaoConfig = daoConfigMap.get(AlbumInfoDao.class).clone(); albumInfoDaoConfig.initIdentityScope(type); artistInfoDaoConfig = daoConfigMap.get(ArtistInfoDao.class).clone(); artistInfoDaoConfig.initIdentityScope(type); musicInfoDao = new MusicInfoDao(musicInfoDaoConfig, this); albumInfoDao = new AlbumInfoDao(albumInfoDaoConfig, this); artistInfoDao = new ArtistInfoDao(artistInfoDaoConfig, this); registerDao(MusicInfo.class, musicInfoDao); registerDao(AlbumInfo.class, albumInfoDao); registerDao(ArtistInfo.class, artistInfoDao); }
Example #5
Source File: DaoSession.java From SweetMusicPlayer with Apache License 2.0 | 6 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); musicInfoDaoConfig = daoConfigMap.get(MusicInfoDao.class).clone(); musicInfoDaoConfig.initIdentityScope(type); albumInfoDaoConfig = daoConfigMap.get(AlbumInfoDao.class).clone(); albumInfoDaoConfig.initIdentityScope(type); artistInfoDaoConfig = daoConfigMap.get(ArtistInfoDao.class).clone(); artistInfoDaoConfig.initIdentityScope(type); musicInfoDao = new MusicInfoDao(musicInfoDaoConfig, this); albumInfoDao = new AlbumInfoDao(albumInfoDaoConfig, this); artistInfoDao = new ArtistInfoDao(artistInfoDaoConfig, this); registerDao(MusicInfo.class, musicInfoDao); registerDao(AlbumInfo.class, albumInfoDao); registerDao(ArtistInfo.class, artistInfoDao); }
Example #6
Source File: DaoSession.java From Expert-Android-Programming with MIT License | 6 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); //MEMBERS ITEM restaurantImageDaoConfig = daoConfigMap.get(RestaurantImageDao.class).clone(); restaurantImageDaoConfig.initIdentityScope(type); restaurantImageDao = new RestaurantImageDao(restaurantImageDaoConfig, this); registerDao(RestaurantImage.class, restaurantImageDao); //MEMBERS ITEM photoItemDaoConfig = daoConfigMap.get(PhotoItemDao.class).clone(); photoItemDaoConfig.initIdentityScope(type); photoItemDao = new PhotoItemDao(photoItemDaoConfig, this); registerDao(PhotoItem.class, photoItemDao); //TODO ADD HERE }
Example #7
Source File: DaoSession.java From Maps with GNU General Public License v2.0 | 6 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); bJCameraDaoConfig = daoConfigMap.get(BJCameraDao.class).clone(); bJCameraDaoConfig.initIdentityScope(type); poiSearchTipDaoConfig = daoConfigMap.get(PoiSearchTipDao.class).clone(); poiSearchTipDaoConfig.initIdentityScope(type); bJCameraDao = new BJCameraDao(bJCameraDaoConfig, this); poiSearchTipDao = new PoiSearchTipDao(poiSearchTipDaoConfig, this); registerDao(BJCamera.class, bJCameraDao); registerDao(PoiSearchTip.class, poiSearchTipDao); }
Example #8
Source File: DaoSession.java From iBeebo with GNU General Public License v3.0 | 6 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); green_AccountBeanDaoConfig = daoConfigMap.get(Green_AccountBeanDao.class).clone(); green_AccountBeanDaoConfig.initIdentityScope(type); green_AtUsersBeanDaoConfig = daoConfigMap.get(Green_AtUsersBeanDao.class).clone(); green_AtUsersBeanDaoConfig.initIdentityScope(type); green_TimeLineStatusDaoConfig = daoConfigMap.get(Green_TimeLineStatusDao.class).clone(); green_TimeLineStatusDaoConfig.initIdentityScope(type); green_AccountBeanDao = new Green_AccountBeanDao(green_AccountBeanDaoConfig, this); green_AtUsersBeanDao = new Green_AtUsersBeanDao(green_AtUsersBeanDaoConfig, this); green_TimeLineStatusDao = new Green_TimeLineStatusDao(green_TimeLineStatusDaoConfig, this); registerDao(Green_AccountBean.class, green_AccountBeanDao); registerDao(Green_AtUsersBean.class, green_AtUsersBeanDao); registerDao(Green_TimeLineStatus.class, green_TimeLineStatusDao); }
Example #9
Source File: DaoSession.java From Puff-Android with MIT License | 6 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); accountDaoConfig = daoConfigMap.get(AccountDao.class).clone(); accountDaoConfig.initIdentityScope(type); categoryDaoConfig = daoConfigMap.get(CategoryDao.class).clone(); categoryDaoConfig.initIdentityScope(type); acctTypeDaoConfig = daoConfigMap.get(AcctTypeDao.class).clone(); acctTypeDaoConfig.initIdentityScope(type); accountDao = new AccountDao(accountDaoConfig, this); categoryDao = new CategoryDao(categoryDaoConfig, this); acctTypeDao = new AcctTypeDao(acctTypeDaoConfig, this); registerDao(Account.class, accountDao); registerDao(Category.class, categoryDao); registerDao(AcctType.class, acctTypeDao); }
Example #10
Source File: DaoSession.java From RxJavaApp with Apache License 2.0 | 6 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); operatorsDaoConfig = daoConfigMap.get(operatorsDao.class).clone(); operatorsDaoConfig.initIdentityScope(type); alloperatorsDaoConfig = daoConfigMap.get(alloperatorsDao.class).clone(); alloperatorsDaoConfig.initIdentityScope(type); operatorsDao = new operatorsDao(operatorsDaoConfig, this); alloperatorsDao = new alloperatorsDao(alloperatorsDaoConfig, this); registerDao(operators.class, operatorsDao); registerDao(alloperators.class, alloperatorsDao); }
Example #11
Source File: DaoConfig.java From MiBandDecompiled with Apache License 2.0 | 6 votes |
public void initIdentityScope(IdentityScopeType identityscopetype) { if (identityscopetype == IdentityScopeType.None) { identityScope = null; return; } if (identityscopetype == IdentityScopeType.Session) { if (keyIsNumeric) { identityScope = new IdentityScopeLong(); return; } else { identityScope = new IdentityScopeObject(); return; } } else { throw new IllegalArgumentException((new StringBuilder()).append("Unsupported type: ").append(identityscopetype).toString()); } }
Example #12
Source File: DaoSession.java From MiBandDecompiled with Apache License 2.0 | 5 votes |
public DaoSession(SQLiteDatabase sqlitedatabase, IdentityScopeType identityscopetype, Map map) { super(sqlitedatabase); luaListDaoConfig = ((DaoConfig)map.get(de/greenrobot/daobracelet/LuaListDao)).clone(); luaListDaoConfig.initIdentityScope(identityscopetype); luaZipFileDaoConfig = ((DaoConfig)map.get(de/greenrobot/daobracelet/LuaZipFileDao)).clone(); luaZipFileDaoConfig.initIdentityScope(identityscopetype); luaListDao = new LuaListDao(luaListDaoConfig, this); luaZipFileDao = new LuaZipFileDao(luaZipFileDaoConfig, this); registerDao(de/greenrobot/daobracelet/LuaList, luaListDao); registerDao(de/greenrobot/daobracelet/LuaZipFile, luaZipFileDao); }
Example #13
Source File: DaoSession.java From WaveHeartRate with Apache License 2.0 | 5 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); historyEntityDaoConfig = daoConfigMap.get(HistoryEntityDao.class).clone(); historyEntityDaoConfig.initIdentityScope(type); historyEntityDao = new HistoryEntityDao(historyEntityDaoConfig, this); registerDao(HistoryEntity.class, historyEntityDao); }
Example #14
Source File: DaoSession.java From JianDanRxJava with Apache License 2.0 | 5 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); jokeCacheDaoConfig = daoConfigMap.get(JokeCacheDao.class).clone(); jokeCacheDaoConfig.initIdentityScope(type); freshNewsCacheDaoConfig = daoConfigMap.get(FreshNewsCacheDao.class).clone(); freshNewsCacheDaoConfig.initIdentityScope(type); pictureCacheDaoConfig = daoConfigMap.get(PictureCacheDao.class).clone(); pictureCacheDaoConfig.initIdentityScope(type); sisterCacheDaoConfig = daoConfigMap.get(SisterCacheDao.class).clone(); sisterCacheDaoConfig.initIdentityScope(type); videoCacheDaoConfig = daoConfigMap.get(VideoCacheDao.class).clone(); videoCacheDaoConfig.initIdentityScope(type); jokeCacheDao = new JokeCacheDao(jokeCacheDaoConfig, this); freshNewsCacheDao = new FreshNewsCacheDao(freshNewsCacheDaoConfig, this); pictureCacheDao = new PictureCacheDao(pictureCacheDaoConfig, this); sisterCacheDao = new SisterCacheDao(sisterCacheDaoConfig, this); videoCacheDao = new VideoCacheDao(videoCacheDaoConfig, this); registerDao(JokeCache.class, jokeCacheDao); registerDao(FreshNewsCache.class, freshNewsCacheDao); registerDao(PictureCache.class, pictureCacheDao); registerDao(SisterCache.class, sisterCacheDao); registerDao(VideoCache.class, videoCacheDao); }
Example #15
Source File: DaoSession.java From JianDan with Apache License 2.0 | 5 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); jokeCacheDaoConfig = daoConfigMap.get(JokeCacheDao.class).clone(); jokeCacheDaoConfig.initIdentityScope(type); freshNewsCacheDaoConfig = daoConfigMap.get(FreshNewsCacheDao.class).clone(); freshNewsCacheDaoConfig.initIdentityScope(type); pictureCacheDaoConfig = daoConfigMap.get(PictureCacheDao.class).clone(); pictureCacheDaoConfig.initIdentityScope(type); sisterCacheDaoConfig = daoConfigMap.get(SisterCacheDao.class).clone(); sisterCacheDaoConfig.initIdentityScope(type); videoCacheDaoConfig = daoConfigMap.get(VideoCacheDao.class).clone(); videoCacheDaoConfig.initIdentityScope(type); jokeCacheDao = new JokeCacheDao(jokeCacheDaoConfig, this); freshNewsCacheDao = new FreshNewsCacheDao(freshNewsCacheDaoConfig, this); pictureCacheDao = new PictureCacheDao(pictureCacheDaoConfig, this); sisterCacheDao = new SisterCacheDao(sisterCacheDaoConfig, this); videoCacheDao = new VideoCacheDao(videoCacheDaoConfig, this); registerDao(JokeCache.class, jokeCacheDao); registerDao(FreshNewsCache.class, freshNewsCacheDao); registerDao(PictureCache.class, pictureCacheDao); registerDao(SisterCache.class, sisterCacheDao); registerDao(VideoCache.class, videoCacheDao); }
Example #16
Source File: DaoSession.java From JianDan_OkHttpWithVolley with Apache License 2.0 | 5 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); jokeCacheDaoConfig = daoConfigMap.get(JokeCacheDao.class).clone(); jokeCacheDaoConfig.initIdentityScope(type); freshNewsCacheDaoConfig = daoConfigMap.get(FreshNewsCacheDao.class).clone(); freshNewsCacheDaoConfig.initIdentityScope(type); pictureCacheDaoConfig = daoConfigMap.get(PictureCacheDao.class).clone(); pictureCacheDaoConfig.initIdentityScope(type); sisterCacheDaoConfig = daoConfigMap.get(SisterCacheDao.class).clone(); sisterCacheDaoConfig.initIdentityScope(type); videoCacheDaoConfig = daoConfigMap.get(VideoCacheDao.class).clone(); videoCacheDaoConfig.initIdentityScope(type); jokeCacheDao = new JokeCacheDao(jokeCacheDaoConfig, this); freshNewsCacheDao = new FreshNewsCacheDao(freshNewsCacheDaoConfig, this); pictureCacheDao = new PictureCacheDao(pictureCacheDaoConfig, this); sisterCacheDao = new SisterCacheDao(sisterCacheDaoConfig, this); videoCacheDao = new VideoCacheDao(videoCacheDaoConfig, this); registerDao(JokeCache.class, jokeCacheDao); registerDao(FreshNewsCache.class, freshNewsCacheDao); registerDao(PictureCache.class, pictureCacheDao); registerDao(SisterCache.class, sisterCacheDao); registerDao(VideoCache.class, videoCacheDao); }
Example #17
Source File: DaoSession.java From Dota2Helper with Apache License 2.0 | 5 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); greenNewsDaoConfig = daoConfigMap.get(GreenNewsDao.class).clone(); greenNewsDaoConfig.initIdentityScope(type); greenStrategyDaoConfig = daoConfigMap.get(GreenStrategyDao.class).clone(); greenStrategyDaoConfig.initIdentityScope(type); greenUpdateDaoConfig = daoConfigMap.get(GreenUpdateDao.class).clone(); greenUpdateDaoConfig.initIdentityScope(type); greenVideoDaoConfig = daoConfigMap.get(GreenVideoDao.class).clone(); greenVideoDaoConfig.initIdentityScope(type); greenWatchedVideoDaoConfig = daoConfigMap.get(GreenWatchedVideoDao.class).clone(); greenWatchedVideoDaoConfig.initIdentityScope(type); greenNewsDao = new GreenNewsDao(greenNewsDaoConfig, this); greenStrategyDao = new GreenStrategyDao(greenStrategyDaoConfig, this); greenUpdateDao = new GreenUpdateDao(greenUpdateDaoConfig, this); greenVideoDao = new GreenVideoDao(greenVideoDaoConfig, this); greenWatchedVideoDao = new GreenWatchedVideoDao(greenWatchedVideoDaoConfig, this); registerDao(GreenNews.class, greenNewsDao); registerDao(GreenStrategy.class, greenStrategyDao); registerDao(GreenUpdate.class, greenUpdateDao); registerDao(GreenVideo.class, greenVideoDao); registerDao(GreenWatchedVideo.class, greenWatchedVideoDao); }
Example #18
Source File: DaoSession.java From JianDan_OkHttp with Apache License 2.0 | 5 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); jokeCacheDaoConfig = daoConfigMap.get(JokeCacheDao.class).clone(); jokeCacheDaoConfig.initIdentityScope(type); freshNewsCacheDaoConfig = daoConfigMap.get(FreshNewsCacheDao.class).clone(); freshNewsCacheDaoConfig.initIdentityScope(type); pictureCacheDaoConfig = daoConfigMap.get(PictureCacheDao.class).clone(); pictureCacheDaoConfig.initIdentityScope(type); sisterCacheDaoConfig = daoConfigMap.get(SisterCacheDao.class).clone(); sisterCacheDaoConfig.initIdentityScope(type); videoCacheDaoConfig = daoConfigMap.get(VideoCacheDao.class).clone(); videoCacheDaoConfig.initIdentityScope(type); jokeCacheDao = new JokeCacheDao(jokeCacheDaoConfig, this); freshNewsCacheDao = new FreshNewsCacheDao(freshNewsCacheDaoConfig, this); pictureCacheDao = new PictureCacheDao(pictureCacheDaoConfig, this); sisterCacheDao = new SisterCacheDao(sisterCacheDaoConfig, this); videoCacheDao = new VideoCacheDao(videoCacheDaoConfig, this); registerDao(JokeCache.class, jokeCacheDao); registerDao(FreshNewsCache.class, freshNewsCacheDao); registerDao(PictureCache.class, pictureCacheDao); registerDao(SisterCache.class, sisterCacheDao); registerDao(VideoCache.class, videoCacheDao); }
Example #19
Source File: DaoSession.java From AndroidQuick with MIT License | 5 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); userDaoConfig = daoConfigMap.get(UserDao.class).clone(); userDaoConfig.initIdentityScope(type); userDao = new UserDao(userDaoConfig, this); registerDao(User.class, userDao); }
Example #20
Source File: DaoSession.java From octoandroid with GNU General Public License v3.0 | 5 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); printerDbEntityDaoConfig = daoConfigMap.get(PrinterDbEntityDao.class).clone(); printerDbEntityDaoConfig.initIdentityScope(type); printerDbEntityDao = new PrinterDbEntityDao(printerDbEntityDaoConfig, this); registerDao(PrinterDbEntity.class, printerDbEntityDao); }
Example #21
Source File: AppDB.java From DMusic with Apache License 2.0 | 5 votes |
protected AppDB(Context context) { super(context); DaoMaster.DevOpenHelper helper = new DaoMaster.DevOpenHelper(context.getApplicationContext(), "dmusic.db", null); db = helper.getWritableDatabase(); // 注意:该数据库连接属于 DaoMaster,所以多个 Session 指的是相同的数据库连接。 daoMaster = new DaoMaster(db); // GreenDao的Session会将第一次query的结果缓存起来,后面如果调用相同的查询语句则会直接显示缓存的对象 // 两种解决方式: // Type1:每次查询更新的表之前调用一下<daoSession.clear();>清除缓存 // Type2:初始化时使用无缓存模式 daoSession = daoMaster.newSession(IdentityScopeType.None);//无缓存模式 initDaos(); }
Example #22
Source File: DaoMaster.java From Maps with GNU General Public License v2.0 | 4 votes |
public DaoSession newSession() { return new DaoSession(db, IdentityScopeType.Session, daoConfigMap); }
Example #23
Source File: DaoMaster.java From JianDan with Apache License 2.0 | 4 votes |
public DaoSession newSession(IdentityScopeType type) { return new DaoSession(db, type, daoConfigMap); }
Example #24
Source File: DaoMaster.java From JianDan with Apache License 2.0 | 4 votes |
public DaoSession newSession() { return new DaoSession(db, IdentityScopeType.Session, daoConfigMap); }
Example #25
Source File: DaoMaster.java From SweetMusicPlayer with Apache License 2.0 | 4 votes |
public DaoSession newSession(IdentityScopeType type) { return new DaoSession(db, type, daoConfigMap); }
Example #26
Source File: DaoMaster.java From NBAPlus with Apache License 2.0 | 4 votes |
public DaoSession newSession(IdentityScopeType type) { return new DaoSession(db, type, daoConfigMap); }
Example #27
Source File: DaoMaster.java From NBAPlus with Apache License 2.0 | 4 votes |
public DaoSession newSession() { return new DaoSession(db, IdentityScopeType.Session, daoConfigMap); }
Example #28
Source File: DaoMaster.java From JianDan_OkHttpWithVolley with Apache License 2.0 | 4 votes |
public DaoSession newSession(IdentityScopeType type) { return new DaoSession(db, type, daoConfigMap); }
Example #29
Source File: DaoMaster.java From JianDan_OkHttpWithVolley with Apache License 2.0 | 4 votes |
public DaoSession newSession() { return new DaoSession(db, IdentityScopeType.Session, daoConfigMap); }
Example #30
Source File: DaoMaster.java From AndroidDatabaseLibraryComparison with MIT License | 4 votes |
public DaoSession newSession() { return new DaoSession(db, IdentityScopeType.Session, daoConfigMap); }