Minor enhancements around AbstractDao: mainly to make it easier to use with lambda based transaction handling.