EclipseLink JPA can be used with NoSQL databases. A Java class can be mapped to a NoSQL datasource using the @NoSQL
annotation or <no-sql>
XML element.
EclipseLink also provides JPA access to EIS (Enterprise Information Systems) such as legacy databases and systems (CICS, ADA, VSAM, IMS, MQ, AQ).
EclipseLink's NoSQL support allows complex hierarchical data to be mapped, including XML, indexed, and hierarchical mapped data such as JSON data. CRUD operations, embedded objects and collections, inheritance, and relationships are supported. A subset of JPQL and the Criteria API are supported, dependent on the NoSQL database's query support.
It is also possible to add support for other NoSQL data-sources by defining your own EISPlatform
subclass and JCA adapter. There are also several user-contributed platforms in the EclipseLink incubator project. See "Platform Incubator" at this URL:
http://wiki.eclipse.org/EclipseLink/Development/Incubator/Platform
Table A-3 lists the NoSQL and EIS data-sources that are supported by EclipseLink. For more information on the Java classes listed in the table, see Java API Reference for EclipseLink.
Table A-3 Supported NoSQL and EIS Platforms
Data-source | Java Class | Features |
---|---|---|
MongoDB |
|
Provides MongoDB support including:
|
Oracle NoSQL |
|
Provides Oracle NoSQL support including:
|
XML files |
|
Provides support for persistence to XML file including:
|
JMS |
|
Provides support for persistence through JMS messaging:
|
Oracle AQ |
|
Provides support for persistence through Oracle AQ messaging:
|