Class ObjectArrayMapping

java.lang.Object
org.eclipse.persistence.core.mappings.CoreMapping<AttributeAccessor,org.eclipse.persistence.internal.sessions.AbstractSession,org.eclipse.persistence.internal.queries.ContainerPolicy,ClassDescriptor,org.eclipse.persistence.internal.helper.DatabaseField>
All Implemented Interfaces:
Serializable, Cloneable, ContainerMapping, ArrayCollectionMapping

public class ObjectArrayMapping extends AbstractCompositeCollectionMapping

Purpose: In an object-relational data model, structures can contain "Arrays" or collections of other data-types. In Oracle 8i, a Varray is typically used to represent a collection of primitive data or aggregate structures. These arrays are stored with their parent structure in the same table.

ArrayMapping is used to map a collection of primitive data

ObjectArrayMapping is used to map a collection of Oracle data-type

NOTE: Only Oracle8i supports Varray type.

See Also:
Author:
King (Yaoping) Wang
  • Field Details

    • structureName

      protected String structureName
      Arrays require a structure name, this is the ADT defined for the VARRAY.
  • Constructor Details

    • ObjectArrayMapping

      public ObjectArrayMapping()
  • Method Details