Add Get(...) method to ISession that does not throw an ObjectNotFoundException if a row for the Id does not exists - instead just return null.
Environment
None
Attachments
2
Activity
MikeM
February 25, 2005 at 4:29 PM
0.7 was released
Former user
February 11, 2005 at 1:26 PM
Committed both overloads and the test.
Former user
December 13, 2004 at 4:57 AM
A test for Get.
Former user
December 13, 2004 at 4:56 AM
Here is a patch that adds Get, the same way it's implemented in Hibernate 2.1. It only adds one of the overloads, because the other one involves locks and I couldn't add it easily.
Add Get(...) method to ISession that does not throw an ObjectNotFoundException if a row for the Id does not exists - instead just return null.