Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseLink/FAQ/NoSQL/MongoDB"
< EclipseLink | FAQ | NoSQL
Line 7: | Line 7: | ||
* CRUD operations (persist, merge, find, remove) | * CRUD operations (persist, merge, find, remove) | ||
* JPQL and Criteria API queries (sub-selects, group by, and certain functions are not supported) | * JPQL and Criteria API queries (sub-selects, group by, and certain functions are not supported) | ||
− | * JPA Query options firstResult, maxResults, fetchSize | + | * JPA Query options: firstResult, maxResults, fetchSize |
− | * MongoDB query options read-preference, write-concern, options | + | * MongoDB query options: read-preference, write-concern, options |
* Native queries (through MongoDB's command language) | * Native queries (through MongoDB's command language) | ||
Latest revision as of 13:58, 19 March 2012
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 are not supported)
- JPA Query options: firstResult, maxResults, fetchSize
- MongoDB query options: read-preference, write-concern, options
- Native queries (through MongoDB's command language)