importData(byte[ ] [ ], boolean)

Format

public void importData(byte[ ] [ ] ctx, 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 attributes.

Parameters

ctx

The source plug-in context information.

setProp

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 import( ) method in the database.