How would you control transaction with Spring & Hibernate. -


this question has answer here:

i asked question during interiew process few week's back. not sure talk about. need talk session or lazy loading/eager loading or transaction manager or optimistic locking , pessimistic locking.

use @transactional annotation @ service base class.use rollback conditions when exception thrown.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -