connection — Defines the JDBC connection to make
<connection> <catalog>catalog
</catalog> <schema>schema
</schema> <url>url
</url> <username>username
</username> <password>password
</password> </connection>
The database catalog name to connect to (if applicable), most of the time a catalog name is the same as database name.
If applicable, the shema to use.
JDBC connection url (obligatory).
The username to use.
The password to use. If it is empty
(<password></password>
,
it means an empty password, if this element
is not present, it will ask the password via
command line.
Example 18. JDBC data source driver definition.
<project name="testProject"> ... <metadata> ... </metadata> <output> <jdbc> <driver name="postgresql"> <jar>/usr/share/java/postgresql.jar</jar> <native></native> <class>org.postgresql.Driver</class> </driver> <connection> <catalog>testdb</catalog> <schema>public</schema> <url>jdbc:postgresql:testdb</url> <username>mbassale</username> <password>12345</password> </connection> </jdbc> </output> </project>