[Neo4j] using various alternatives to create a Neo4j database for the first time

2016-03-21 Thread 'Guenter Hipler' via Neo4j
Hi we are running our first steps with Neo4j and used various alternatives to create an initial database 1) we used the Java API with an embedded database here

[Neo4j] How to start neo4j from command line

2016-03-21 Thread Anand M A
When i navigate to C:\Program Files\Neo4j CE 2.3.2\bin\ in windows command prompt (DOS) and type "neo4j-ce.exe start" I'm able to start neo4j but when i write a batch command to run the same, viz start "" "C:\Program Files\Neo4j CE 2.3.2\bin\neo4j-ce.exe" start its not working, the neo4j

Re: [Neo4j] Neo4j Traversal Framework

2016-03-21 Thread Michael Hunger
All the neo4j-dependencies should be the same, i.e. 2.1.8 so you might have to add some excludes to your code or pull org.neo4j:neo4j:2.1.8 yourself in your project so it is not pulled again as transitive dependency. Michael > Am 21.03.2016 um 17:29 schrieb Radheshyam Verma

Re: [Neo4j] Neo4j Traversal Framework

2016-03-21 Thread Radheshyam Verma
So is it not Installation Error? Or it is mismatch in the dependencies On Mon, Mar 21, 2016 at 9:59 PM, Radheshyam Verma wrote: > I dont remember How I ended up using neo4j 2.1.8 > > In maven dependency tree it pulls SDN 3.3.2 and neo4j kernel 2.1.2 > and pulls in neo4j

Re: [Neo4j] Neo4j Traversal Framework

2016-03-21 Thread Radheshyam Verma
I dont remember How I ended up using neo4j 2.1.8 In maven dependency tree it pulls SDN 3.3.2 and neo4j kernel 2.1.2 and pulls in neo4j 2.1.7, lucene-index-2.1.7 and some other such jars On Mon, Mar 21, 2016 at 9:38 PM, Michael Hunger < michael.hun...@neotechnology.com> wrote: > Why? Why not a

Re: [Neo4j] Neo4j Traversal Framework

2016-03-21 Thread Michael Hunger
Why? Why not a more recent version? Also did you run mvn dependency:tree ? > Am 21.03.2016 um 16:57 schrieb Radheshyam Verma : > > I am using SDN 3.3.2 with neo4j version 2.1.8 > > On Mon, Mar 21, 2016 at 9:13 PM, Michael Hunger >

Re: [Neo4j] How do Entity IDs in sdn4-university work?

2016-03-21 Thread Luanne Coutinho
Hi Tim, SDN uses the internal Neo4j node or relationship ID to track domain entities. This is the same as in the Neo4j browser. The @GraphId annotation is used to indicate which java.lang.Long

Re: [Neo4j] Neo4j Traversal Framework

2016-03-21 Thread Radheshyam Verma
I am using SDN 3.3.2 with neo4j version 2.1.8 On Mon, Mar 21, 2016 at 9:13 PM, Michael Hunger < michael.hun...@neotechnology.com> wrote: > Looks like a version issue. > > You have two different versions of Neo4j that are pulled in. > > you should run mvn dependency:tree and check that the

Re: [Neo4j] Neo4j Traversal Framework

2016-03-21 Thread Michael Hunger
Looks like a version issue. You have two different versions of Neo4j that are pulled in. you should run mvn dependency:tree and check that the neo4j-version that's pulled in is consistent across SDN 3.4.x uses: 2.2.5 SDN 3.5.x uses: 2.3.2 > Am 21.03.2016 um 16:24 schrieb Radheshyam Verma

Re: [Neo4j] Neo4j Traversal Framework

2016-03-21 Thread Radheshyam Verma
THIS IS THE STACK TRACE OF THE ERROR ON REMOTE SERVER threw exception [Request processing failed; nested exception is org.neo4j.graphdb.TransactionFailureException: commit threw exception] with root cause java.lang.NoSuchMethodError: org.neo4j.kernel.impl.api.index.UniquePropertyIndexUpdater:

Re: [Neo4j] Neo4j Traversal Framework

2016-03-21 Thread Radheshyam Verma
I dont know why but same configuration works on my local. But not on remote server. I even uninstalled Neo4j on my local still it was working on local server. I deploy same '.war' file on server and it wont save objects. On Mon, Mar 21, 2016 at 8:48 PM, Radheshyam Verma

Re: [Neo4j] Neo4j Traversal Framework

2016-03-21 Thread Radheshyam Verma
and Neo4jService is an Autowired field On Mon, Mar 21, 2016 at 8:48 PM, Radheshyam Verma wrote: > Neo4jService is a class created by me > > > On Mon, Mar 21, 2016 at 8:42 PM, Michael Hunger < > michael.hun...@neotechnology.com> wrote: > >> What does your configuration look

Re: [Neo4j] Neo4j Traversal Framework

2016-03-21 Thread Radheshyam Verma
Neo4jService is a class created by me On Mon, Mar 21, 2016 at 8:42 PM, Michael Hunger < michael.hun...@neotechnology.com> wrote: > What does your configuration look like? And how do you get the Neo4jService > instance? > > Am 21.03.2016 um 15:44 schrieb Radheshyam Verma : >

Re: [Neo4j] Neo4j Traversal Framework

2016-03-21 Thread Michael Hunger
What does your configuration look like? And how do you get the Neo4jService instance? > Am 21.03.2016 um 15:44 schrieb Radheshyam Verma : > > Is it possible that Neo4j is not installed properly. > Because I probably Uninstalled neo4j and still server starts properly. > But

Re: [Neo4j] Re: Neo4j Traversal Framework

2016-03-21 Thread Radheshyam Verma
Is it possible that Neo4j is not installed properly. Because I probably Uninstalled neo4j and still server starts properly. But server shows TransactionFailureException when saving object. * I already have graph.db file, And I have some entries in it. * When I run neo4jTemplate.count() it

Re: [Neo4j] Re: Neo4j Traversal Framework

2016-03-21 Thread Radheshyam Verma
PS: Thanks For the Quick response. I wasn't ready for this. On Mon, Mar 21, 2016 at 5:16 PM, Radheshyam Verma wrote: > The basic structure of the code is as above though. > > Here is the code that is not working > > @Service > @Transactional > public class Neo4jService > {

Re: [Neo4j] Re: Neo4j Traversal Framework

2016-03-21 Thread Radheshyam Verma
The basic structure of the code is as above though. Here is the code that is not working @Service @Transactional public class Neo4jService { @Autowired private Neo4jTemplate template; public User addUser(User user) { template.save(user);

[Neo4j] How do Entity IDs in sdn4-university work?

2016-03-21 Thread Tim Colson
I feel like this is a basic concept, but I'm still not grokking how SpringData Neo4j 4.1 works with Entity IDs. I also am confused on how I should work with natural IDs for my domain objects. Background: I can run the sdn4-university

Re: [Neo4j] Re: Neo4j Traversal Framework

2016-03-21 Thread Michael Hunger
Best if you can share a minimal example project that reproduces the issue. I presume that your spring config is not correct. Cheers, Michael > Am 21.03.2016 um 12:27 schrieb Radheshyam Verma : > > Hi, > Thanks for your help. > I Resolved The Issue. It was not Neo4j Error,

Re: [Neo4j] Re: Neo4j Traversal Framework

2016-03-21 Thread Radheshyam Verma
Hi, Thanks for your help. I Resolved The Issue. It was not Neo4j Error, it was Some other component producing error which was causing neo4j to crash. Now Server is starting normally. Now I am getting Error while writing data to the database. Code structure is as follow: @Transactional