New public method to get the current DB handle on the resource class.
Useful for when you may be in transactions to pull the correct DB handle.