Name

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)

NameDescriptionTypeDefault ValueRequired
cacheEnable caching for returned query databoolean true or falsetrueno
cacheTimeoutThe period between cache refreshes in msint any integer0 (cache is never refreshed)no
columnThe table column used to build the listString any character combinationnoneyes
datasourceNameThe name of a datasource declared in DataSourceServiceDataSource Name of a DataSource as defined in DataSourceServicenoneyes
fetchSizeNumber of row to retrieve at a timeint any integerJDBC driver defaultno
readOnlyDisables write accessboolean true or falsefalseno
tableThe table in the datasourceString any character combinationnoneyes
timeoutThe timeout for queries to the database in msint any integer60000no

Service Dependencies

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" />