Improve db model detection

Made the detection of mapped database entities for hibernate by a given object type within the generic get-interface more robust.