concurrency - Neo4j-Neoclipse Concurrent access issue -


i creating few nodes in neo4j using spring data, , accessing them via findbypropertyvalue(prop, val).

everything works correctly when reading/writing embedded db using spring data.

now, per michael hunger's book : relationship, opened neoclipse in read-only mode connection active neo4j connection in java..

but, somehow still says neo4j's kernel actively used other program or something.

question 1 :what doing wrong here?

also, have created few nodes , persisted them. whenever restart embedded neo4j db, can view nodes when findall().

question 2 :when try visualize nodes in neoclipse(considering db accessible), can see one single node(which empty), has no properties associated it, whereas have name property defined.

i started java app, persisted few nodes, traversed , got output in java console. now, shutdown application , started neoclipse ide, connected db , found no nodes present(problem of question 2). after trying again(heads down), go java app , ran app, , surprisingly found getting lucene-file-corrupted error(unrecognized file format) error. had no code changes, did not delete anything, still got error.

question 3 :not sure doing wrong. since found this discussion on bug(lucene/concurrent db access), willing know if bug or if due programatic error.(does have eclipse juno)

any reply highly appreciated.

  1. make sure committing transactions.
  2. data not flushed disk neo4j , hence might not viewing nodes in neoclipse. restart application using neo4j in embedded mode data flushed disk , open neoclipse.

posting code check issues.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -