Question from the Hibernate test

Hibernate: is the `@OneToOne` annotation optional?

Medium

In Hibernate, if the attributes of an object attached to the session are modified, is it necessary to call the update method of the session?

Author: Thomas De verdièreStatus: PublishedQuestion passed 520 times
Edit
0
Community Evaluations
developer avatar
MERIYEM
14/11/2023
noon , on n a pas besoin d appler la methode Update() sur un objet qui est attache a une session Hibernate , (Persistant) car Hibernate suit cete objet et le synchronise a chaque Transaction .