list
DB String List — DB String List<list class="xms.dataservices.list.DBStringList" name="name" … />
Table 34. Attributes for list tag (for xms.dataservices.list.DBStringList)
| Name | Description | Type | Default Value | Required |
|---|---|---|---|---|
| cache | Enable caching for returned query data | boolean true or false | true | no |
| cacheTimeout | The period between cache refreshes in ms | int any integer | 0 (cache is never refreshed) | no |
| column | The table column used to build the list | String any character combination | none | yes |
| datasourceName | The name of a datasource declared in DataSourceService | DataSource Name of a DataSource as defined in DataSourceService | none | yes |
| fetchSize | Number of row to retrieve at a time | int any integer | JDBC driver default | no |
| readOnly | Disables write access | boolean true or false | false | no |
| table | The table in the datasource | String any character combination | none | yes |
| timeout | The timeout for queries to the database in ms | int any integer | 60000 | no |
This tag depends on the following services (or a service that extends or implements these classes)
Example 39. Example configuration for DB String List
Required attributes are marked with a bold typeface
<list class="xms.dataservices.list.DBStringList" name="name"
cache="cache"
cacheTimeout="cacheTimeout"
column="column"
datasourceName="datasourceName"
fetchSize="fetchSize"
readOnly="readOnly"
table="table"
timeout="timeout" />