Home > Uncategorized > Grails Neo4j plugin 0.3 released

Grails Neo4j plugin 0.3 released

Today I released an update of the Grails Neo4j plugin (http://www.grails.org/plugin/neo4j). The main changes are:

  • compatibility with Grails 1.3.x. Be aware, Grails 1.3 – 1.3.3 are suffering from http://jira.codehaus.org/browse/GRAILS-6427, so either use Grails 1.2.x, or be brave and use a recent git build of Grails 1.3.4.SNAPSHOT.
  • usage of Neo4j 1.1 (released today just a few hours ago, so get it while it’s hot).

All changes:

  • [GRAILSPLUGINS-2302] – “home” link broken in the org.codehaus.groovy.grails.plugins.neo4j.Neo4jController views
  • [GRAILSPLUGINS-2303] – Problems with annotation Neo4jEntity
  • [GRAILSPLUGINS-2345] – upgrade to Neo4j 1.1
  • [GRAILSPLUGINS-2346] – <domainclass>.get() throws exception if id is not invalid
  • [GRAILSPLUGINS-2347] – <domainClass>.findAllBy<Field>(value) fails
  • [GRAILSPLUGINS-2349] – provide compatibility for Grails 1.3.x
Categories: Uncategorized Tags: ,
  1. March 23rd, 2011 at 15:39 | #1

    Great work with the plugin.

    I’d like to add my own Relationships between nodes, e.g. User OWNS Book. How would this be done?



  2. March 23rd, 2011 at 17:18 | #2

    what do you mean in detail with “own relationships”? Generally the plugin currently provides not much flexibility in terms of adopting different mapping strategies. But you could checkout the sources and make your required changes there.

  3. March 23rd, 2011 at 19:20 | #3

    I mean additional relationship types, rather than the default hasMany, belongsTo, etc.

    An example could be ‘UserA isFriendsWith UserB’.


  4. March 24th, 2011 at 15:23 | #4

    Sorry, this is currently not supported. But there is a complete refactoring in progress, my goal is to reuse spring-data-graph in the plugin.

  5. preet
    July 24th, 2011 at 22:08 | #5

    Hi Stefan, I was doing integration testing, noticed that getting below exception, how do i wrap code in transaction?


  6. Jean-S├ębastien Stoffen
    January 7th, 2012 at 19:55 | #7

    Hi, first, thank you for your great work!

    I’m wondering about something : is there any difference for getting the objects variables?
    When I try to get an object variable stored in the graph, I receive a NULL value and when I use the default Grails datasource, I can get it.
    For example in a simple domain class toString method:

    String toString() {
    “${family} ${versionNumber} (${versionName})”

    For the rest, creating objects and browsing into the graph with the scaffold view is working, just this little problem.

    Thank you in advance,

  1. No trackbacks yet.