removed hibernate specific code