mcs-database

Purpose

Allows access to a database type that is known to MCS.

Contained by

Attributes

Attribute Description Type Default Options Use
host The database host xs:string none    required 
port The database port xs:unsignedShort none    required 
source The source of the database xs:string none    required 
vendor The vendor of the database. This also identifies the driver to use to access the database. xs:string none 

db2-type4 (for IBM DB2 type 4 driver), oracle (for Oracle), oracle-rac (for Oracle RAC)

required 

Example

<jdbc-repository>
  <connection-pool maximum="20"
    poll-interval="3600000"
    keep-alive="false"></connection-pool>
    <anonymous-data-source user="mcs"password="mcs">
      <mcs-database host="myhost" port="1521" vendor="vendorName"
        source="mysource"/>
    </anonymous-data-source>
  </connection-pool>
</jdbc-repository>

Related topics