1 2 3 4 5 6 7 8 9 10 11 12 13
| <!-- Database connection parameters -->
<database>
<!-- Torque must know the target database platform in order to generate the appropriate Java and SQL code. Currently supported values are: axion, cloudscape, db2, db2400, hypersonic, interbase, mssql, mysql, oracle, postgresql, sapdb, and sybase. -->
<adapter>oracle</adapter>
<!-- The fully qualified Java class name of the JDBC driver to be used. -->
<driver>com.mysql.jdbc.Driver</driver>
<!-- The connection URL to be passed to our JDBC driver to establish a connection. Note: there is a bug when using MySQL if autoReconnect is not set to true -->
<url>jdbc:mysql:///archimede</url>
<!-- The connection username to be passed to our JDBC driver to establish a connection. -->
<user>user</user>
<!-- The connection password to be passed to our JDBC driver to establish a connection. -->
<password>pass</password>
</database> |
Partager