Skip to content
vince-bickers edited this page Nov 28, 2014 · 11 revisions

Neo4j-OGM

Graph-based Persistence for Java

Reference Documentation


  1. Tutorial
    1. Part 1 - Mapping node properties
      1. Setup
      2. Mapping strategies
      3. The Mapping context
      4. Loading and storing objects
      5. Type mappings
    2. Part 2 - Mapping relationships
      1. Mapping the Person class
      2. Collections
      3. Managing bi-directional relationships

  1. Architecture
    1. Overview
    2. Instance states
    3. Sessions

  1. Configuration
    1. Programmatic configuration
    2. Obtaining a SessionFactory

  1. Persistent Classes

    1. A simple POJO example
      1. Implement a no-argument constructor
      2. Provide an identifier property (optional)
      3. Prefer non-final classes (optional)
      4. Declare accessors and mutators for persistent fields (optional)
    2. Implementing inheritance
    3. Implementing equals() and hashCode()
  2. Basic Mapping

    1. Strategies
      1. Simple
      2. Annotated
    2. Object Identity
    3. Properties
    4. Relationships
      1. Many-to-one relationships
      2. One-to-one relationships
      3. Relationships with Properties
    5. Labels
    6. Types
      1. Entities and values
      2. Basic value types
      3. Custom value types
  3. Inheritance mapping

    1. Labels
    2. Limitations and workarounds
  4. Working with objects

    1. Object states
    2. Loading objects
    3. Saving objects

  1. Transactions and Concurrency

    1. Session and Transaction scopes
    2. Unit of work
    3. Long conversations
    4. Common issues
      1. Exception handling
      2. Transaction timeout
  2. CQL: The Cypher Query Language

    1. Referring to identifiers
    2. Aggregate functions
    3. Polymorphic queries
    4. Scalar queries
    5. Entity queries
    6. Handling associations and collections
    7. Returning multiple entities
    8. Returning non-managed entities
    9. Handling inheritance
    10. Parameters

  1. Improving performance
  2. Depth-based strategies
    1. Tuning fetch strategies
    2. Tuning update strategies
  3. Understanding Collection performance

References

Clone this wiki locally