Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
Destination |
Required |
Not available |
Select a global resource.
- [Add]:
Adds a new global resource.
- [Edit list]:
Global resource settings can be edited in “Edit resource list” screen.
|
|
Authentication |
Required |
Not available |
Select a global resource.
- [Add]:
Adds a new global resource.
- [Edit list]:
Global resource settings can be edited in “Edit resource list” screen.
|
|
Resource path |
Required |
Available |
Select or enter the resource path. |
|
Get field display name |
Optional |
Not available |
Select whether or not to get field display name when updating Field definition.
- [Checked]:
Gets the field display names.
- [Not checked]: (default)
Does not get the field display names.
|
- When getting field display names, [Update field definition] may take longer time.
|
Field definition |
Required |
- |
Displays the field definition of the entity specified in [Resource path]. |
|
Field definition/Target |
Required |
Not available |
Select whether or not to include each field of the entity specified in [Resource path] in target.
- [Checked]:
Includes in writing target.
- [Not Checked]: (default)
Does not include in writing target.
|
|
Field definition/Primary key |
Required |
Not available |
Displays whether [Field name] is the primary key.
- [Checked]:
Displays that it is the primary key.
- [Not checked]: (default)
Displays that it is not the primary key.
|
|
Field definition/Field name |
Required |
Not available |
Displays the field name of the entity specified in[Resource path]. |
|
Field definition/Field display name |
Optional |
Not available |
Displays the field display name of the entity specified in [Resource path]. |
|
Field definition/Type |
Required |
Not available |
Displays the type of [Field name]. |
|
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
Key field of resource path |
Optional |
Not available |
Select the key field for the entity selected in [Resource path]. |
- When [Get key information] is pressed, primary key field and the field defined with alternate key will be displayed.
The default value is the primary key field.
- When it is omitted, the primary key field will be used.
|
Associated key settings |
Optional |
- |
Displays the associated key settings of the entity specified in [Resource path]. |
- When it is omitted, primary key field will be used as the key for all entity fields.
|
Associated key settings/Entity field |
Optional |
Not available |
Displays the entity field of the entity specified in [Resource path]. |
|
Associated key settings/Associated entities |
Optional |
Not available |
Displays the associated entity set name of [Entity field]. |
|
Associated key settings/Associated key fields |
Optional |
Not available |
Displays the key field for the entity associated to [Entity field]. |
- The default value is the primary key field.
- Update the value by the following steps.
- Select the update target in [Entity field].
- Select the key field in [Associated key fields].
- Press [Update associated key settings].
|
Entity field |
Optional |
Not available |
Select [Associated key fields] of [Associated key settings] and the [Entity field] of the same row to be changed. |
- The list of entities that you can specify is displayed when [Get key information] is pressed.
|
Associated key fields |
Optional |
Not available |
Select the key field for the entity selected in [Entity field]. |
- When [Entity field] is selected, the primary key field and the field defined with alternate key are displayed.
The default value is the primary key field.
|
Element name |
Column name/Label |
Description |
Remarks |
row |
- |
Repeats by the number of the entities to be written. |
|
column |
uri |
The URI which distinguishes operation targets uniquely. |
|
action |
Outputs the operation method. |
- create:
Creating operation.
- update:
Updating operation.
- delete:
Deleting operation.
When the operation is to relate the entities, it will be update even if that is new relation.
|
target |
Outputs the type of operation target. |
- entity:
Operation to entity.
- property:
Operation to entity properties.
- relation:
Operation to relation of entities.
When all of the following conditions are satisfied, the relation row will not be output.
- An operation to associate the specified entities to the entity field of N:1 entity relationship
- The operation for the entity specified in [Resource path] is create or update operation
|
status_code |
Outputs the HTTP status code of operation. |
|
message |
Outputs the operation message. |
|
error_type |
When an error occurs, the type of the occurred error will be stored. |
- Default value is null.
- The error type will be in the below format.
Example: “java.io.FileNotFoundException”
|
Component variable name |
Description |
Remarks |
count |
The number of read data will be stored. |
- Default value is null.
- Entities of navigation property are also counted.
|
insert_count |
Stores the number of entities which are newly created. |
- Default value is null.
- Counts when entity of navigation property is newly created.
|
update_count |
Stores the number of updated entities. |
- Default value is null.
- Counts when entity of navigation property is updated.
|
message_category |
When an error occurs, the category of the message code corresponding to the occurred error will be stored. |
|
message_code |
When an error occurs, the message code corresponding to the occurred error will be stored. |
|
message_level |
When an error occurs, the severity of the message code corresponding to the occurred error will be stored. |
|
error_type |
When an error occurs, the type of the occurred error will be stored. |
- Default value is null.
- The error type will be in the below format.
Example: “java.io.FileNotFoundException”
The contents that will be stored may vary depending on DataSpider Servista versions.
|
error_message |
When an error occurs, the message of the occurred error will be stored. |
- Default value is null.
The contents that will be stored may vary depending on DataSpider Servista versions.
|
error_trace |
When an error occurs, the corresponding error trace information will be stored. |
- Default value is null.
The contents that will be stored may vary depending on DataSpider Servista versions or the client applications to be executed.
|
Exception name |
Cause |
Solution |
ResourceNotFoundException Resource definition is not found. Name: [] |
[Destination] or [Authentication] is not specified. |
Specify [Destination] or [Authentication]. |
ResourceNotFoundException Resource definition is not found. Name: [<Global resource name>] |
The resource definition selected in [Destination] or [Authentication] is not found. |
Check the global resource specified in [Destination] or [Authentication]. |
InvalidPropertyConfigurationException
<Property name> is not specified. |
[<Property name>] is not specified. |
Specify [<Property name>]. |
InvalidPropertyConfigurationException
There is no key field in the entity set that was associated with entity field.[Entity field=<Entity field>][Associated key fields=<Associated key fields>] |
There is no key field specified in <Entity field> in [Associated key settings]. |
In [Associated key settings], set the key field exists in [Associated key fields] of <Entity field>. |
InvalidResourcePathException
Invalid resource path: <Resource path> |
The format of the resource path is invalid. |
Check [Resource path]. |
NumberFormatException |
Failed to convert the type. |
Check whether the value that can be converted to numerical type is set in numerical type field. |
DateTimeParseException |
Failed to convert the type. |
Check whether the value that can be converted to date type is set in date and time field. |
IllegalArgumentException Invalid UUID string: <Key value> |
Failed to convert the type. |
Check whether the number that can be converted to search type (GUID) is set in the field of search type (GUID). |
InvalidSchemaException
No such property: <Field name> |
The specified filed does not exist. |
Check whether that the field exists in entity. |