Unable to Find @SpringBootConfiguration with @DataJpaTest 1. Introduction In our tutorial on testing in Spring Boot, we saw how we can use the @DataJpaTest annotation. In this next tutorial, we’ll see how to resolve the error “Unable to find a @SpringBootConfiguration“. 2. Causes The @DataJpaTest annotation helps us to set up… Continue Reading spring-boot-unable-to-find-springbootconfiguration-with-datajpatest

OAuth Deep Dive – Consulting Engagement This is a deep-dive into your OAuth2 implementation – which means one of two things.  Either you’re already doing OAuth with Spring Security, you’re past the basics and you need to make sure your approach and implementation are going in the right direction.  Here,… Continue Reading oauth-deep-dive

A Guide to Spring’s Open Session In View 1. Overview Session per request is a transactional pattern to tie the persistence session and request life-cycles together. Not surprisingly, Spring comes with its own implementation of this pattern, named OpenSessionInViewInterceptor, to facilitate working with lazy associations and therefore, improving developer productivity. In… Continue Reading spring-open-session-in-view