I used one interface that i defined @Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE) extends Neo4jRepository. Is It prototype scope good for Neo4jRepository ?
@Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE)*/
public interface ActivityCustomFieldRepository extends Neo4jRepository<ActivityCustomFieldNew, Long>
i used that above.