@Target(TYPE) @Retention(RUNTIME) public @interface NoSql
An NoSQL (No SQL, or Not Only SQL) database is any non-relational data source.
This can include:
  • NoSQL databases such as Oracle NoSQL, MongoDB, etc.
  • XML databases
  • Distributed cache stores such as Oracle Coherence
  • Object databases
  • Legacy databases, gateways and transaction system such as VSAM, ADA, CICS, IMS, MQSeries, Tuxedo, etc.
  • ERP systems, such as SAP

EclipseLink allows NoSQL data to be mapped to objects, and accessed through JPA and EclipseLink's APIs.

Entity and Embeddable objects can be used to map NoSQL data. Most NoSQL data is hierarchical in form so usage of embeddable objects is common. Some NoSQL adaptors support XML data, so NoSQL mapped objects can use XML mappings when mapping to XML.

EclipseLink support NoSQL data access through the JavaEE Connector Architecture. A JCA adaptor is required to map NoSQL data, this may be provided by EclipseLink, provided by a third party such as Attunity, or custom built.

Since:
EclipseLink 2.4
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    (Optional) Defines the order of the fields contained in the database structure type.
    (Required) The database name of the database structure type.
  • Element Details

    • dataType

      String dataType
      (Required) The database name of the database structure type.
      Default:
      ""
    • dataFormat

      DataFormatType dataFormat
      (Optional) Defines the order of the fields contained in the database structure type.
      Default:
      XML