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.1. Part 1 - Mapping node properties 1.1.1. Setup 1.1.2. Mapping strategies 1.1.3. The Mapping context 1.1.4. Loading and storing objects 1.1.5. Type mappings 1.2. Part 2 - Mapping relationships 1.2.1. Mapping the Person class 1.2.2. Collections 1.2.3. Managing bi-directional relationships
  2. Architecture 2.1. Overview 2.2. Instance states 2.3. Sessions
  3. Configuration 3.1. Programmatic configuration 3.2. Obtaining a SessionFactory
  4. Persistent Classes 4.1. A simple POJO example 4.1.1. Implement a no-argument constructor 4.1.2. Provide an identifier property (optional) 4.1.3. Prefer non-final classes (optional) 4.1.4. Declare accessors and mutators for persistent fields (optional) 4.2. Implementing inheritance 4.3. Implementing equals() and hashCode()
  5. Basic Mapping 5.1. Strategies 5.1.2. Simple 5.1.3. Annotated 5.1.4. Identity 5.1.5. Properties 5.1.6. Many-to-one relationships 5.1.7. One-to-one relationships 5.1.8. Labels 5.1.9. Relationships with Properties 5.2. Types 5.2.1. Entities and values 5.2.2. Basic value types 5.2.3. Custom value types
  6. Inheritance mapping 9.1. Labels 9.1.1. Table per class hierarchy 9.2. Limitations
  7. Working with objects 10.1. Object states 10.2. Making objects persistent 10.3. Loading an object 10.4. AdQuerying 10.4.1. Executing queries 10.4.2. Filtering collections 10.4.3. Criteria queries 10.4.4. Cypher Queries 10.5. Modifying persistent objects 10.6. Modifying detached objects 10.7. Automatic state detection 10.8. Deleting persistent objects 10.10. Flushing the Session 10.11. Transitive persistence 10.12. Using metadata
  8. Transactions and Concurrency 11.1. Session and transaction scopes 11.1.1. Unit of work 11.1.2. Long conversations 11.1.3. Considering object identity 11.1.4. Common issues 11.2. Database transaction demarcation 11.2.1. Non-managed environment 11.2.2. Using JTA 11.2.3. Exception handling 11.2.4. Transaction timeout
  9. CQL: The Cypher Query Language 14.1. Referring to identifier property 14.2. Aggregate functions 14.3. Polymorphic queries 14.4. Scalar queries 14.5. Entity queries 14.6. Handling associations and collections 14.7. Returning multiple entities 14.8. Returning non-managed entities 14.9. Handling inheritance 14.10. Parameters
  10. Improving performance 19.1. Depth-based strategies 19.1.1. Tuning fetch strategies 19.1.2. Tuning update strategies 19.2. Understanding Collection performance 19.5.1. Taxonomy 19.5.2. Lists, Maps, Sets and Arrays 19.5.3. Purging the database
  11. Example: Parent/Child 21.1. A note about collections 21.2. Bidirectional one-to-many 21.3. Cascading life cycle 21.4. Cascades and unsaved-value 21.5. Conclusion

References

Clone this wiki locally