Uncategorized

Spring Transactional Proxies

Here we will discuss the Spring wonderland of proxies and database transactions. Often we need to create Spring services that work with database transactions. First we define an interface, for example let’s take a simple UsersService like this: public interface UsersService {   …   void cleanupUsers();   … } Then implement with the known @Transactional annotation: @Service …

Spring Transactional Proxies Read More »