integrating hibernate