Home | Previous Page | Next Page  

Working with Opaque Types

In This Chapter
Using the IfmxUDTSQLInput Interface
Reading Data
Positioning in the Data Stream
Setting or Obtaining Data Attributes
Using the IfmxUDTSQLOutput Interface
Mapping Opaque Data Types
Caching Type Information
Unsupported Methods
Creating Opaque Types and UDRs
Overview of Creating Opaque Types and UDRs
Preparing to Create Opaque Types and UDRs
Steps to Creating Opaque Types
Steps to Creating UDRs
Requirements for the Java Class
SQL Names
Specifying Characteristics for an Opaque Type
Specifying Field Count
Specifying Additional Field Characteristics
Specifying Length
Specifying Alignment
Alignment Values
Specifying SQL Names
Specifying the Java Class Name
Specifying Java Source File Retention
Creating the JAR and Class Files
Creating the .class and .java Files
Creating the .jar File
Sending the Class Definition to the Database Server
Specifying Deployment Descriptor Actions
Specifying a JAR File Temporary Path
Creating an Opaque Type from Existing Code
Using setXXXCast() Methods
Using setSupportUDR() and setUDR()
Removing Opaque Types and JAR Files
Creating UDRs
Removing UDRs and JAR Files
Removing Overloaded UDRs
Obtaining Information About Opaque Types and UDRs
getXXX() Methods in the UDTMetaData Class
getXXX() Methods in the UDRMetaData Class
Executing in a Transaction
Examples
Class Definition
Inserting Data
Retrieving Data
Using Smart Large Objects Within an Opaque Type
Creating an Opaque Type from an Existing Java Class with UDTManager
Creating an Opaque Type Using Default Support Functions
Creating an Opaque Type Using Support Functions You Supply
Creating an Opaque Type Without an Existing Java Class
Creating UDRs with UDRManager
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]