Item name | Required/Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Name | Required | Not available | Enter the name on the script canvas. | |
Input data | Required | Not available | Select the component on the script canvas. |
Item name | Required/Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Destination | Required | Not available | Select Global Resources.
Refer to "Global Resource Properties"for global resource settings .
|
|
Table name | Required | Available | Select or enter the name of the database table. |
|
Schema definition | Required | - | Specify the schema definition of database. |
|
Schema definition / Column name | Required | Not available | Shows the column name of the table name specified in [Table name]. | |
Schema definition / Type | Required | Not available | Select [Column name] type. |
|
Key Column Name | Required | Available | Select or enter a key column. |
|
Item name | Description | Remarks |
---|---|---|
DataLoader connection test | Conduct a test to verify if Write(DataLoader) operation is executable to Dr.Sum EA specified in [Destination].
The test will be succeeded if DataLoader has the appropriate version and the update loader function is enabled. |
|
Show table information | Displays the structure, content and related information of tables of the database specified in [Destination]. {0 /} Refer to "Table Information" for table information . |
|
Update schema definition | Update [Schema definition] as well as [Key Column Name]. |
|
Item name | Required/Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Comment | Optional | Not available | You can write a short description of this adapter. The description will be reflected in the specifications. |
Component variable name | Description | Remarks |
---|---|---|
count | Returns the total number of written data. |
|
error_code | When an error occurs, Dr.SumEA returns the error status in decimal value. If no error occurred, returns null. |
|
message_category | Stroes the category to which corresponding message code belongs to, when an error occurs. |
|
message_code | Stores its corresponding message code of occured error. |
|
message_level | Stores the severity of the corresponding message code of the occured error. |
|
error_type | Stores the type of the occured error. |
|
error_message | Stores the error message for the occured error. |
|
error_trace | Stores stack trace of the occurred error. |
|
Exception name | Cause | Solution |
---|---|---|
InputDataNotFoundException | [Input data] is not specified. | Specify the [Input data], or draw the data flow. |
ResourceNotFoundException Resource definition could not be found.Name: [] |
[Destination] 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. | Check the global resource specified in [Destination]. |
InvalidPropertyConfigurationException Table name is not defined. |
[Table name] is not set. | Specify the [Table name]. |
InvalidPropertyConfigurationException Key column is not defined. |
[Key Column Name] is not set. | Specify a column name with the NOT NULL UNIQUE restriction to [Key Column Name]. |
DataLoaderUpdateNotSupportedException The update loader function is invalid or not supported. |
The Write(DataLoader) operation cannot be executed as the update loader function of Dr.Sum EA, which is specified in [Destination], is invalid or the version is not supported. | Confirm if the update loader function of Dr.Sum EA specified in [Destination] is activated, as well as the version is 3.0 SP2 or later. |
jp.co.dw_sapporo.drsum_ea.DWException A column name which does not exist is specified. |
A column name which does not exist in the target table is specified to [Key Column Name]. | Specify a column name which exists in the target table to [Key Column Name]. |
jp.co.dw_sapporo.drsum_ea.DWException Field Type Error |
A column without the NOT NULL UNIQUE restriction is specified to [Key Column Name]. | Specify a column name with the NOT NULL UNIQUE restriction to [Key Column Name]. |
jp.co.dw_sapporo.drsum_ea.DWException Unique restriction violated. |
Unique restriction violation has been recognized when writing to a table. | Check [Input data], as well as the target table schema information. |
jp.co.dw_sapporo.drsum_ea.DWException NOT NULL restriction is violated. |
There has been NOT NULL restriction violation occurring especially when writing to a table. | Check [Input data], as well as the target table schema information./td> |