Oracle® interMedia Java Classes Reference 10g Release 1 (10.1) Part Number B10830-01 |
|
|
View PDF |
This chapter contains reference information for the oracle.ord.im.OrdMediaUtil class.
The OrdMediaUtil class allows other interMedia Java classes to connect to Oracle Database and access data in tables that contain columns of interMedia object types. This class includes methods for downloading and uploading data.
The OrdMediaUtil class also includes a Java compatibility initialization function to enable client-side applications to maintain compatibility with previous releases of the interMedia object types (OrdAudio, OrdDoc, OrdImage, and OrdVideo).
Oracle may improve the interMedia object types by adding new object attributes in a future release of interMedia. Client-side applications may be able to maintain compatibility with previous releases of the interMedia object types (OrdAudio, OrdDoc, OrdImage, and OrdVideo), even after a database upgrade that changes the object types, if they make a call to this compatibility initialization function at the beginning of the application.
Client-side applications written in Java using interMedia Java Classes should call the OrdMediaUtil imCompatibilityInit( ) method after connecting to Oracle Database. This Java function takes an OracleConnection object as an argument.
See the imCompatibilityInit(OracleConnection) method for more information about the Java compatibility initialization function.
See Oracle interMedia User's Guide for an example of the OrdMediaUtil.imCompatibilityInit( ) method.