commit after adding hibernate