Announcement Announcement Module
Collapse
No announcement yet.
Spring Data Neo4j 2.0.0.RC1 released Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Data Neo4j 2.0.0.RC1 released

    Dear Spring Community,

    The Spring Data Team and Neo Technology have just released the Release Candidate 1 of Spring Data Neo4j,
    the integration library for Neo4j the Enterprise NOSQL database.

    Integrating the feedback from the very successful SpringOne 2011 and our community we
    exended the previous Milestone release with new functionality and took care of reported issues.

    If you'd like to get an Introduction to Spring Data Neo4j, watch out for our presentations/webinars.

    Changes
    • Updated Neo4j to 1.5 AspectJ to 1.6.12
    • Added repository support for the new Cypher-DSL (1.5.M1) (with QueryDSL support)
    • Updated cypher syntax changes for 1.5
    • Extended result-handling-dsl to allow changes of container classes
    • Added examples for hello-worlds and cypher for both mapping options
    • @RelationshipEntity has an fallback relationship-type attribute
    • Support for (mutable) @RelatedToVia collections (like Set)
    • Relationship-Entities can now be directly instantiated and persisted
    • Introduced the concept of a MappingPolicy for the POJO mapping mode (currently @Fetch)
    • Simplified cineasts using annotated and derived queries on repositories
    • Added repository for access of relationship-related methods
    • Improved support for collection properties
    • List, Set, Collection, Page as return types on derived and annotated query methods

    This is the last step before the final release of the new major version, so we're looking for even more feedback to provide an excellent GA release. Please provide it in the forum or the issue tracker.

  • #2
    Congrats on the RC Release, will upgrade my project today and let you know how it goes.

    Thanks

    Mark

    Comment


    • #3
      Me again, congrats as well

      Just updated and get a

      Code:
      java.lang.NoSuchMethodError: org.neo4j.cypher.javacompat.ExecutionEngine.execute(Lorg/neo4j/cypher/commands/Query;Ljava/util/Map;)Lorg/neo4j/cypher/javacompat/ExecutionResult;
      	at org.springframework.data.neo4j.support.query.CypherQueryEngine.parseAndExecuteQuery(CypherQueryEngine.java:63)
      while trying trying to call

      Code:
      @Query(value = "start Orig = (BlobChunk,\"clientType:{clientType} AND clientId:{clientId}\") return Orig", type = QueryType.Cypher)
      I Used org.neo4j:neo4j-cypher:1.5.M01 as additional dependency to spring-data-neo4j:2.0.0.RC1

      Is that the wrong one?

      Comment


      • #4
        Please update all your Neo4j dependencies to 1.5 (GA) as well, as we updated the dependencies to 1.5.

        Thanks a lot

        Michael

        Comment


        • #5
          Figured it out myself, has to be org.neo4j:neo4j-cypher:1.5, not org.neo4j:neo4j-cypher:1.5.M01

          Oh, thanks for the fast reply

          Comment


          • #6
            Hi, I'm trying to update my project, but maven is not finding a dependency:
            18/11/11 13:38:49 GMT: Missing artifact org.springframework.data:spring-data-commons-core:jar:1.2.0.M2:compile
            <dependencies>
            <dependency>
            <groupId>org.springframework.data</groupId>
            <artifactId>spring-data-neo4j</artifactId>
            <version>2.0.0.RC1</version>
            </dependency>

            </dependencies>


            <repositories>
            <repository>
            <id>spring-milestone</id>
            <name>Spring Maven MILESTONE Repository</name>
            <url>http://maven.springframework.org/milestone</url>
            </repository>
            </repositories>

            Tried to switch to M1 but did not work also.

            Regards

            Comment


            • #7
              Does it say that it tries to download that dependency from which repository?

              It is even on maven central:

              https://oss.sonatype.org/index.html#...a-commons-core

              Comment

              Working...
              X