The connect Tag
Description
Builds a connection to a SQL database.
Only one connect tag allowed in a process.
Recommended to be specified early in the process.
Type: SQL
Attributes:
- driverClass
- Defines the JDBC driver class
- dbConnection
- Defines the JDBC connection string
Loop Control: YES
Containing Tags
- commit
-
- delete
-
- insert
-
- rollback
-
- update
-
Used Within Tags - suggested
Example
<connect driverClass="com.mysql.jdbc.Driver" dbConnection="jdbc:mysql://localhost/edi">
<connect driverClass="COM.ibm.db2.jdbc.app.DB2Driver" dbConnection="jdbc:db2:edi">