DBConnectionSet - niandy/pct GitHub Wiki
<pct:dbConnectionSet />
or <pct:db_connection_set />
Creates a set of database connections, which can be referenced later by PCT tasks.
Attribute | Description | Type | Requirement | Default value |
---|---|---|---|---|
id | ID of this set | String | Required | No default value |
Adds a database connection to this set
<!-- Don't forget to declare types -->
<typedef resource="types.properties" />
<DBConnectionSet id="myset">
<DBConnection dbName="db1" dbDir="db" />
<DBConnection dbName="db2" dbDir="db">
<Alias name="foo" />
</DBConnection>
</DBConnectionSet>
<PCTRun ...>
<DBConnectionSet refid="myset" />
</PCTRun>