hibernate works