1、 -12- 外文原文 Working with Oracle Object TypesWorking with Oracle Object Types This chapter describes JDBC support for user-defined object types. It discusses functionality of the generic, weakly typed oracle.sql.STRUCT class, as well as how to map to custom Java classes that implement either the JDBC
2、standard SQLData interface or the Oracle ORAData interface. This chapter also describes how JDBC drivers access SQLJ object types in SQL representation. The following topics are covered: _ Mapping Oracle Objects _ Using the Default STRUCT Class for Oracle Objects _ Creating and Using Custom Object C
3、lasses for Oracle Objects _ Object-Type Inheritance _ Using JPublisher to Create Custom Object Classes _ Describing an Object Type _ SQLJ Object Types Note: For general information about Oracle object features and functionality, see the Oracle9i Application Developers Guide -Object-Relational Featur
4、es. Mapping Oracle ObjectsMapping Oracle Objects Oracle object types provide support for composite data structures in the database. For example, you can define a type Person that has attributes such as name (type CHAR), phone number (type CHAR), and employee number (type NUMBER). Oracle provides tight integration between its Oracle object features and its JDBC functionality. You can use a standard, generic JDBC type to map to Oracle objects, or you can customize the mappin