#1. Adding the @Named annotation to the interface instead of the implementation Adding the @Named, @Component, @Repository, etc annotation on the interface as opposed to the implementation class. The code below …
#1. Adding the @Named annotation to the interface instead of the implementation Adding the @Named, @Component, @Repository, etc annotation on the interface as opposed to the implementation class. The code below …
Never just trust that adding @Transactional annotation is going to create a transactional boundary for your service layer. EventRestController –> EventMergeProcesorImpl –> EventControlDAOImpl The @Transactional annotations added to “public” methods of …