Tag: customannotation

  • How to create a custom annotation in Spring Boot?

    How to create a custom annotation in Spring Boot?

    Annotation is a powerful feature in Java. You can plug in some logic by just adding a word ! Consider this annotation in Spring Data: @Transactional Add this to a method where you are performing a sequence of database operations and they suddenly turn transactional. If any of the database operation fails all the other…