How to get the EmbeddedGraphDatabase instance when configured via spring-data-neo4j

131 views
Skip to first unread message

Newbie

unread,
Jan 27, 2012, 7:20:29 PM1/27/12
to Neo4j
I configured my embedded graph db using

<neo4j:config storeDirectoy="db/neo4j" />

How do I get the EmbeddedGraphDatabase instance?

Thanks,

Newbie

unread,
Jan 27, 2012, 7:56:59 PM1/27/12
to Neo4j
Nvm.

I did a test. Using Autowired works.

Michael Hunger

unread,
Jan 28, 2012, 4:46:00 PM1/28/12
to ne...@googlegroups.com
And also

neo4jTemplate.getGraphDatabaseService();

Michael

Reply all
Reply to author
Forward
0 new messages