4. Database Configuration File
The database configuration file provides the connection information for
the database that you want to insert data into. The configuration file has
the same format as a Java properties file with pairs of property names and
values. The following properties must be provided in this file:
|
databaseUrl |
|
The database url string for the JDBC
driver |
|
driverName |
|
The JDBC driver name |
|
loginId |
|
Login is to be used for connecting to the database |
|
password |
|
Password for the above login id. |
Example Oracle configuartion
file
databaseUrl = jdbc:inetora:MACHINENAME:1521:DBNAME
driverName = com.inet.ora.OraDriver
loginId = TESTUSER
password = TESTPASSWORD
where MACHINENAME, DBNAME, TESTUSER and TESTPASSWORD
must be replaced for your system.
Example SQL Server
configuration file
databaseUrl = jdbc:inetdae7:MACHINENAME:1433?database=DBNAME
driverName = com.inet.tds.TdsDriver
loginId = TESTUSER
password = TESTPASSWORD
where MACHINENAME, DBNAME, TESTUSER and TESTPASSWORD
must be replaced for your system. |