todo
todo copied to clipboard
Upgrade into latest Spring Boot version
I have this error when using latest Spring Boot version
@Bean
public LocalContainerEntityManagerFactoryBean entityManagerFactory(
EntityManagerFactoryBuilder factory, DataSource dataSource,
JpaProperties properties) {
Map<String, Object> jpaProperties = new HashMap<>();
jpaProperties.putAll(properties.getHibernateProperties(dataSource));
jpaProperties.put("hibernate.ejb.interceptor", hibernateInterceptor());
return factory.dataSource(dataSource).packages("io.github.knes1.todo.model")
.properties(jpaProperties).build();
}
Could you upgraded into latest version?
Thanks