What Is Use Of @transactional In Spring?
What Is Use Of @transactional In Spring? The @Transactional annotation is metadata that specifies that an interface, class, or method must have transactional semantics; for example, “start a brand new read-only transaction when this method is invoked, suspending any existing transaction”. Why do we use @transactional in Java? Transactional annotation provides the application the ability