Hibernate - @Transactional
What is the use of @Transactional ?
- In the middle of transaction if it is calling another business logic, it is the option of joining the transaction.
- This is much readable & recommended.
- Transaction propagation are handled automatically
- (Propagation = REQUIRED) - Create new if not exist old.
Comments
Post a Comment