I just migrate to spring JPA technology and manage to change my simple jersey-hibernate project to spring JPA with custom crudrepository. But I can\'t deal with auto config
If you are using Hibernate, you have to provide most basic hibernate object (or bean in spring) called EntityManagerFactory to manage db sessions.
This may be helpful : Obtaining EntityManager in Spring + Hibernate configuration