hibernate work