Module eclipselink

Annotation Interface OracleObject


@Target(TYPE) @Retention(RUNTIME) @Repeatable(OracleObjects.class) public @interface OracleObject
An OracleObject annotation is used to define an Oracle database OBJECT type. This type can be used within PLSQL procedure calls.
See Also:
Author:
David McCann
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Defines the fields in the record type.
    The name of the OBJECT type in the database.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The Java class to map the OBJECT type to.
  • Element Details

    • name

      String name
      The name of the OBJECT type in the database.
    • javaType

      Class<?> javaType
      The Java class to map the OBJECT type to.

      This class must be mapped using a Struct annotation.

      Default:
      void.class
    • fields

      PLSQLParameter[] fields
      Defines the fields in the record type.