Item name |
Required / Optional |
Use of Variables |
Description |
Remarks |
Destination |
Required |
Not available |
Select Global Resources.
- [Add]:
Adds new global resource.
- [Edit list]:
Global resource settings can be edited by "Edit resource list".
|
|
SQL statement |
Required |
Available |
Enter the SQL statements to issue to the database. |
- Disabled, if [Destination] is not set or invalid.
- Can be specified with SELECT statement.
- Executes executeQuery() method of java.sql.Statement Class .Please contact database vendor about executable SQL statements other than SELECT statement.
- Available to input characters up to "2147483647". However, in case there is a pre-set limitation in the database or the driver, the limitation would be the upper limit.
|
Schema definition |
Required |
- |
Shows the schema definition of the SQL statement specified in
[SQL statement]. |
- Column name shown in [Schema definition] is displayed in schema of Mapper.
|
Schema definition / Column name |
Required |
Not available |
Shows the column name of the SQL statement specified in [SQL statement]. |
|
Schema definition / Type |
Required |
Not available |
Select [Column name] type. |
- Displayed in the format of "Native type (Internal data type)" .
- Native type:
The data type of each specific RDBMS.
- Internal data type
Data type used internally in DataSpider. Refer to Internal data type for details.
|
Item name |
Description |
Remarks |
Launch Table Browser |
Launches the Table Browser.
For the operating procedure, see Table Browser. |
- Enabled when [Destination] is selected.
|
SQL wizard |
Starts the SQL wizard.
For instructions, refer to "Search SQL wizard".
|
- SQL statements specified in [SQL statement] cannot be edited with wizard.
|
Extraction test |
Executes specified SQL statement.Displays the number of nodes of the retrieved result. |
- Cannot be executed if [SQL statement] is not specified.
- If script variable is specified in [SQL statement], execution is enebled by entering values to the variable.
- Executed with empty character, if no value is entered.
- Entered value does not affect to the script execution.
|
Execute SQL statement to set schema |
Gets schema information from the SQL statements specified in [SQL statement] and set to [Schema definition]. |
- Cannot be executed if [SQL statement] is not specified.
- If script variable is specified in [SQL statement], execution is enebled by entering values to the variable.
- Executed with empty character, if no value is entered.
- Entered value does not affect to the script execution.
|
Component variable name |
Description |
Remarks |
count |
Stores the count of the data. |
- The value defaults to null.
- Null when using Parallel Stream Processing.
|
error_code |
Stores an error code corresponding to occurred SQL exception (SQLException). |
- The value defaults to null.
- Upon successful completion, "0" is returned.
- The error code is based on the specifications of each driver vendor.
|
message_category |
Stores the category of message code corresponding to the occurred error. |
- The value defaults to null.
|
message_code |
Stores the code of message code corresponding to the occurred error. |
- The value defaults to null.
|
message_level |
Stores the severity of message code corresponding to the occurred error. |
- The value defaults to null.
|
error_type |
Stores the error type of occurred error. |
- The value defaults to null.
- Error is represented in the format depicted below.
Example:java.io.FileNotFoundException
- The message may vary depending on the DataSpider Servista version.
|
error_message |
Stores the error message of occurred error. |
- The value defaults to null.
- The message may vary depending on the DataSpider Servista version.
|
error_trace |
Stores the trace information of occurred error. |
- The value defaults to null.
- The message may vary depending on the DataSpider Servista version or the client application used.
|
Exception name |
Causes |
Solution |
ResourceNotFoundException Resource definition could not be found.Name: [] |
is not specified. |
Specify [Destination]. |
ResourceNotFoundException Resource definition could not be found.Name: [<name of Global Resources>] |
Resource definition selected in [Destination] is not found. |
Please check the global resource specified in [Destination] |
InvalidPropertyConfigurationException |
[SQL statement] is not set. |
Please specify [SQL statement]. |
java.sql.SQLException |
Database access error or other error occurred. |
Check the message of SQLException.SQLException message is based on the specifications of each driver.SQLException messages may outputs cause of the error.
For more information about the message, please contact each database vendor. |