edit hibernate demo class