Added method to retrieve the database handle used as a connection by an DbObject.
Added test for doing a fresh select from the database.