Oracle® interMedia Java Classes Reference 10g Release 1 (10.1) Part Number B10830-01 |
|
|
View PDF |
Format
public void importFrom(byte[ ] [ ] ctx, String srcType, String srcLocation, String srcName, boolean setProp)
Description
Imports data from an external source into the database BLOB specified by the localData attribute, and optionally calls the setProperties( ) method. If the setProp parameter is true, this method calls the setProperties( ) method in the database to set the property attributes and populate the CLOB specified by the comments attribute. The external data source is specified by the srcType, srcLocation, and srcName parameters. The srcType, srcLocation, and srcName attributes are updated with values of the srcType, srcLocation, and srcName parameters passed to the importFrom( ) method.
Parameters
The source plug-in context information. See Oracle interMedia Reference for more information.
The source type from which the data will be imported.
The source location from which the data will be imported.
The source name from which the data will be imported.
A Boolean value that specifies whether or not to call the setProperties( ) method.
Return Value
None.
Exceptions
java.sql.SQLException
This exception is thrown if an error occurs executing the corresponding importFrom( ) method in the database.
Examples
None.