Issue 462 in morphia: BasicDAO.delete - must one check for errors

1 view
Skip to first unread message

mor...@googlecode.com

unread,
Jul 30, 2013, 9:45:48 AM7/30/13
to morphia...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Low

New issue 462 by joseph.s...@dn2k.com: BasicDAO.delete - must one check for
errors
http://code.google.com/p/morphia/issues/detail?id=462

I am using version 0.99

The BasicDAO.delete() method returns a WriteResult.
The WriteResult appears to allow for the possibility that it can report
errors/exceptions.

So must one check for errors for delete?

If one must do that check what is the correct way to do that given the text
from WriteResult which says the following.

"if another operation has been done on
this connection in the interim, calls will fail"


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages