Fixup abstract configuration following SPR-16839

Spring Framework now requires that all nested configuration classes
are contained within a `@Component` class (see SPR-16839). This means
that our abstract `JpaBaseConfiguration` class should have a
`@Configuration` annotation.

Closes gh-14480
pull/14478/merge
Phillip Webb 6 years ago
parent 0f653e69cd
commit 5cc1a830b2

@ -70,6 +70,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
* @author Kazuki Shimizu
* @author Eddú Meléndez
*/
@Configuration
@EnableConfigurationProperties(JpaProperties.class)
@Import(DataSourceInitializedPublisher.Registrar.class)
public abstract class JpaBaseConfiguration implements BeanFactoryAware {

Loading…
Cancel
Save