Name

map

DB String Map — DB String Map

<map class="xms.dataservices.map.DBStringMap" name="name" />

Table 41. Attributes for map tag (for xms.dataservices.map.DBStringMap)

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
datasourceNameThe name of a datasource declared in DataSourceServiceDataSource Name of a DataSource as defined in DataSourceServicenoneyes
keyColumnThe table column containing map keysString any character combinationnoneyes
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
valueColumnThe table column containing map valuesString any character combinationnoneyes

Service Dependencies

This tag depends on the following services (or a service that extends or implements these classes)

Example 46. Example configuration for DB String Map

Required attributes are marked with a bold typeface

<map class="xms.dataservices.map.DBStringMap" name="name"
      cache="cache"
      cacheTimeout="cacheTimeout"
      datasourceName="datasourceName"
      keyColumn="keyColumn"
      readOnly="readOnly"
      table="table"
      timeout="timeout"
      valueColumn="valueColumn" />