You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gree...@googlegroups.com
Hi,
I'm adding some function in the keep section of the entity.
Can I use safety the daoSession and the myDao property or I need to pass the current session and the dao instance?
Thanks
Markus Junginger
unread,
Nov 4, 2012, 3:25:27 PM11/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gree...@googlegroups.com
I'm adding some function in the keep section of the entity.
Can I use safety the daoSession and the myDao property or I need to pass the current session and the dao instance?
Depends. If the entity is always loaded by greenDAO you should be fine. If you have to cope with new (unpersisted) entities, you should have your own references to the session/DAO.