Have got hibernate working CR