Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
04-01-2019 12:27 AM
I am finding the error below while integrating my project
ERROR ::: Cannot convert value of type [org.hibernate.impl.SessionFactoryImpl] to required type [org.neo4j.ogm.session.SessionFactory]: no matching editors or conversion strategy found
04-05-2019 03:46 AM
When using both libraries you have to define the name of your Neo4j-OGM SessionFactory
bean explicitly like
@EnableNeo4jRepositories(sessionFactoryRef = CUSTOM_SESSION_FACTORY_BEAN_NAME)
Otherwise Spring Data Neo4j will look for a bean called sessionFactory
that gets created from the Spring Data JPA Spring Boot starter "first". This is the reason why you are facing this exception.
All the sessions of the conference are now available online