Do you use Spring-Boot? Is so, in my case the problem was with @EnableAutoConfiguration – use exclude=HibernateJpaAutoConfiguration.class
More Related Contents:
- How to solve the “failed to lazily initialize a collection of role” Hibernate exception
- Error creating bean with name ‘entityManagerFactory’ defined in class path resource : Invocation of init method failed
- No serializer found for class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor
- Change database schema during runtime based on logged in user
- Manually call Spring Annotation Validation
- How to get active user’s UserDetails
- Spring MVC: How to return custom 404 errorpages?
- Http Post request with content type application/x-www-form-urlencoded not working in Spring
- Filter order in spring-boot
- Spring Web MVC – validate individual request params
- 404 error redirect in Spring with Java config
- JSON parameter in spring MVC controller
- Why DispatcherServlet creates another application context?
- How to use multiple @RequestMapping annotations in spring?
- Serializing enums with Jackson
- Spring RedirectAttributes: addAttribute() vs addFlashAttribute()
- What is the ‘best’ way to do distributed transactions across multiple databases using Spring and Hibernate
- Return only string message from Spring MVC 3 Controller
- Handle error 404 with Spring controller
- Spring 3.1 Hibernate 4 exception for Inheritance [cannot be cast to org.hibernate.mapping.RootClass]
- Java SE + Spring Data + Hibernate
- How can I read request body multiple times in Spring ‘HandlerMethodArgumentResolver’?
- How to apply Spring Security filter only on secured endpoints?
- Can not find the tag library descriptor of springframework
- Can you completely disable CORS support in Spring?
- Why SpringMVC Request method ‘GET’ not supported?
- Spring MVC 4: “application/json” Content Type is not being set correctly
- Autowired Repository is Null in Custom Constraint Validator
- Trigger 404 in Spring-MVC controller?
- Logging response body (HTML) from HttpServletResponse using Spring MVC HandlerInterceptorAdapter