EclipseLink 2.4.0, build 'v20120608-r11652' API Reference

org.eclipse.persistence.nosql.annotations
Annotation Type NoSql


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface NoSql

An NoSQL (No SQL, or Not Only SQL) database is any non-relational data source.
This can include:

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

dataType

public abstract java.lang.String dataType
(Required) The database name of the database structure type.

Default:
""

dataFormat

public abstract DataFormatType dataFormat
(Optional) Defines the order of the fields contained in the database structure type.

Default:
org.eclipse.persistence.nosql.annotations.DataFormatType.XML

EclipseLink 2.4.0, build 'v20120608-r11652' API Reference