Interview Questions

JPA/Hibernate merge() method not updating records in DB

Please annotate the parent method which is making a call to merge() on any entity object with @Transactional annotation.
This fix will make the merge() method to update/create records as expected.

0
No votes yet
Your rating: None