Hi,
i am using Spring Data Neo4J in standalone mode, so i cannot use "@Autowired". I want to use spatial abilities of the repository but don't know, how to do that.
Of course, i can't create an object of type OsmAddressRepoCode:public interface OsmAddressRepo extends GraphRepository<OsmAddress>, SpatialRepository<OsmAddress> { }
neoTemplate doesn't return my defined "interface OsmAddressRepo", of course (and not supringsingly). Casting doesn't help, too.Code:GraphRepository<OsmAddress> addressRepo = this.neoTemplate.repositoryFor(OsmAddress.class);
Is there a way to inform neoTemplat manually about my defined interface? Or is there a way to cast the return of neoTemplate?
Greetz,
Markus
Using: Spring Data Neo4j 2.1.0RC3, neo4j 1.8M07, neo4j-spatial 0.9SNAPSHOT;
http://static.springsource.org/sprin...erence:spatial


Reply With Quote
