Annotation Type NoSql


  • @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.

    See Also:
    EISDescriptor
    Author:
    James Sutherland
    Since:
    EclipseLink 2.4
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      DataFormatType dataFormat
      (Optional) Defines the order of the fields contained in the database structure type.
      java.lang.String dataType
      (Required) The database name of the database structure type.
    • Element Detail

      • dataType

        java.lang.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:
        org.eclipse.persistence.nosql.annotations.DataFormatType.XML