genericDao for hibernateV3