Annotation Type OracleObject


  • @Target(TYPE)
    @Retention(RUNTIME)
    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:
    NamedPLSQLStoredProcedureQuery
    Author:
    David McCann
    Since:
    EclipseLink 2.5
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      PLSQLParameter[] fields
      (Required) Defines the fields in the record type.
      java.lang.String name
      (Required) The name of the OBJECT type in the database.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.Class javaType
      (Optional) The Java class to map the OBJECT type to.
    • Element Detail

      • name

        java.lang.String name
        (Required) The name of the OBJECT type in the database.
      • fields

        PLSQLParameter[] fields
        (Required) Defines the fields in the record type.
      • javaType

        java.lang.Class javaType
        (Optional) The Java class to map the OBJECT type to. This class must be mapped using a @Struct annotation.
        Default:
        void.class