Jump to: navigation, search

EclipseLink/FAQ/NoSQL/MongoDB

< EclipseLink‎ | FAQ‎ | NoSQL
Revision as of 12:56, 19 March 2012 by James.sutherland.oracle.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

EclipseLink's support for MongoDB includes:

  • Mapping of @Entity for root and @Embeddable for nested data
  • Mappings of type @Basic, @Embedded, @ElementCollection, @ManyToOne, @OneToOne, @OneToMany, @ManyToMany
  • Inheritance
  • Optimistic locking
  • Generated values, OIDs
  • CRUD operations (persist, merge, find, remove)
  • JPQL and Criteria API queries,
    • sub-selects, group by, and certain functions and not supported
  • JPA Query options firstResult, maxResults, fetchSize
  • MongoDB query options read-preference, write-concern, options
  • Native queries (through MongoDB's command language)