Package oracle.sql

Class OpaqueDescriptor

    • Method Detail

      • createDescriptor

        public static OpaqueDescriptor createDescriptor​(String name,
                                                        Connection conn)
                                                 throws SQLException
        Deprecated.
        Descriptor factory. Lookup the name in the database, and determine the characteristics of this array.
        Parameters:
        name - a String naming the type. (Not necessarily fully qualified)
        conn - a Connection to a database
        Returns:
        the opaque descriptor specified by name
        Throws:
        SQLException - if a database error occurs
      • createDescriptor

        public static OpaqueDescriptor createDescriptor​(oracle.sql.SQLName sqlName,
                                                        Connection conn)
                                                 throws SQLException
        Deprecated.
        Descriptor factory. Lookup the name in the database, and determine the characteristics of this array.
        Parameters:
        name - a SQLName
        connection - a Connection to a database
        Throws:
        SQLException
      • isTrustedLibrary

        public boolean isTrustedLibrary()
                                 throws SQLException
        Deprecated.
        Indicates whether the Trusted Library implementing Support functions are specified for the Opaque type. This is the case for internal Opaque Types that are modeled in C.
        Specified by:
        isTrustedLibrary in interface OracleTypeMetaData.Opaque
        Returns:
        true if the Trusted Library implementing Support functions are specified; false, otherwise.
        Throws:
        SQLException
        Since:
        8.2.0
      • isModeledInC

        public boolean isModeledInC()
                             throws SQLException
        Deprecated.
        Indicates whether the Opaque type is modelled in C language.
        Specified by:
        isModeledInC in interface OracleTypeMetaData.Opaque
        Returns:
        true if the Opaque type is modelled in C language; false, otherwise.
        Throws:
        SQLException
        Since:
        8.2.0