Hi there,
removing a dri could be like
http://www.rgagnon.com/javadetails/java-0483.html, a bit annoying but
maybe doable?

/peter

Do Good. www.opencauses.org.

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org     - New Energy for Data - the Graph Database.
http://www.ops4j.org     - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org        - New Energy for Java - Domain Driven Development.




On Fri, Feb 13, 2009 at 1:28 PM, Anders Nawroth
<[email protected]> wrote:
> Hi!
>
> After running the neo4j Hello World app some newcomers might be confused
> regarding how to get the data back from neo4j. The basic answer to this is
> to add a relationship to the reference node, which then can be used to
> retrieve the data.
>
> So I came up with this example code:
>
> https://svn.neo4j.org/laboratory/users/andersn/neo4j-archetype-quickstart/src/main/resources/archetype-resources/src/main/java/NeoApp.java
>
> It's part of a maven Archetype, so the directory layout may be a bit
> strange!
>
> Pros and cons:
> + shows real persistence of data
> + shows a simple way to traverse
> - much code to do little
> - running the main method twice will fail if the db files are not removed
> (and removing a directory is a pain in Java AFAIK)
>
> Any suggestions on how to improve it?
>
> The node space is attached as an image as well.
>
> /anders
>
>
> _______________________________________________
> Neo mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
>
_______________________________________________
Neo mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to