Questions tagged [spring-data-graph]

Spring Data Graph enables POJO based development for Graph Databases like Neo4j

Spring Data Graph enables POJO based development for Graph Databases like Neo4j. It extends annotated entity classes with transparent mapping functionality. A template programming model equivalent to well known Spring templates is also supported. Spring Data Graph is part of the bigger Spring Data project which aims to provide convenient support for NoSQL databases.

43 questions
15
votes
3 answers

Lazy/Eager loading/fetching in Neo4j/Spring-Data

I have a simple setup and encountered a puzzling (at least for me) problem: I have three pojos which are related to each other: @NodeEntity public class Unit { @GraphId Long nodeId; @Indexed int type; String…
Niko
  • 6,133
  • 2
  • 37
  • 49
10
votes
2 answers

Architecting a Neo4j-Based Application - stick to vanilla API using plain nodes & relationships or use Spring/GORM?

I'm hoping to hear from any of you who have architected and implemented a decent sized Neo4j app (10's millions nodes/rels) - and what your recommendations are particularly w.r.t modelling and the various APIs (vanilla java/groovy Neo4j vs…
6
votes
2 answers

Fetch annotation in SDG 2.0, fetching strategy questions

Hi all patient developers using spring data graph. Since there is so less documentation and pretty poor test coverage it is sometimes very difficult to understand what is the expected behavior of the underlying framework how the framework is…
Sempa
  • 167
  • 2
  • 7
6
votes
1 answer

What are the advantages of using Spring Data neo4j over just using neo4j directly?

I am brand new to NOSQL databases (or any kind of database) and I need to build a graph database in Java. I have never used SpringSource before either. Will using Spring Data neo4j make the process of creating a graph database easier or will it…
user1056805
  • 2,633
  • 5
  • 21
  • 19
5
votes
1 answer

Correct way to get transactions using Spring Data Neo4j's simple object/graph mapping?

I'm using the simple object/graph mapping in Spring Data Neo4j 2.0, where I perform persistence operations using the Spring Data repository framework. I'm working with the repositories rather than working with the Neo4jTemplate. I inject the…
user41871
4
votes
1 answer

Spring-data cross store entity management

I want to use Postgres, MongoDB and Neo4j together in my application. I was able to configure them all, however now each of my POJOs is backed my graphNode as well as document by aspectJ. Is there any way to filter out which POJOs are backed by…
Random
  • 4,519
  • 2
  • 38
  • 46
3
votes
1 answer

Paging with Spring Data Graph/Neo4j

Is it possible to fetch Page results when using Spring Data Graph (Neo4J) as the data store? The findAll(Pageable) seems to be the only Pageable query availalble when using the GraphRepository. What I am looking for is Pageable APIs for other…
Saket
  • 45,521
  • 12
  • 59
  • 79
3
votes
2 answers

Spring data neo4j's advanced mapping vs simple mapping

I understand there are many advantages in using Spring data neo4j's advanced mapping rather than the simple mapping. My question is what are the cons of using advanced mapping over the simple mapping?
balteo
  • 23,602
  • 63
  • 219
  • 412
3
votes
1 answer

@Query shortestPath return type in Spring Data Neo4j

What's the return Type of the following query and how do I use it? I tried several things like Path, Iterable, and others but I always hit some sort of exceptions. It seems to be a LinkedHashMap but are there any other handier object types…
2
votes
1 answer

NoSQL DB (directed graphs) for Java/GWT?

I'm looking for no-sql directed graphs DB engine for GWT application. Requirements are: SQLite-like simplicity. Has a tool to explore/modify its structure. Doesn't require being installed (or very easy to install without fixing configuration files…
Andrey Agibalov
  • 7,624
  • 8
  • 66
  • 111
2
votes
1 answer

converting a NodeProxy to NodeEntity in spring-data-neo4j

I have the below Cypher query. It returns a list of players and list of all the leagues played by each player. Now For each of the returned players, I would like to create the Person NodeEntity instead of using the NodeProxy. Wondering what is the…
Aravind Yarram
  • 78,777
  • 46
  • 231
  • 327
2
votes
1 answer

Unable to find neo4j-cypher-dsl version 1.9.M04 anywhere

org.springframework.data:spring-data-neo4j:2.2.1.RELEASE depends on neo4j-cypher-dsl:org.neo4j:1.9.M04 but I am unable to find this dsl artifact in any public mvn repositories. Any idea on where to get this jar?
Aravind Yarram
  • 78,777
  • 46
  • 231
  • 327
2
votes
1 answer

Spring data neo4j aspectJ setup error

I can setup spring data and neo4j in STS but I would like to also take advantage of the aspectJ capabilities provided by Spring data. I have checked and used the Cineasts example as a helper example but it seems that I cannot setup correctly my…
maxsap
  • 2,971
  • 9
  • 44
  • 70
2
votes
1 answer

Working with IntelliJ + Spring Data + AspectJ

I am attempting to work with a Spring Data Graph project in IntelliJ 11.1.4 Ultimate edition. The project builds fine but the editor says that the persist() method on my classes annotated with @NodeEntity can't be found. Additionally, none if the…
Andrew White
  • 52,720
  • 19
  • 113
  • 137
1
vote
2 answers

Finding a datamodel online tools... from a picture

I read the docs for Spring Data Neo4j, and I found this kind of pictures: It's really funny and I want use it too! Do you know what is the website that generates it? I know that it works with some script language, but I didn't find it after spent…
1
2 3