Multiple DataBase Management Application

Configuration

Add a configuration file: dbe-config.xml inside the classpath to have a pre-configure list of data-bases.

In tomcat put the file into [TOMCAT_DIR]/webapps/dbe/WEB-INF/classes.

The configuration file should looks like that:
dbe-config.xml <?xml version="1.0" ?>
 <properties>
  <dbs>
   <db>
    <nickName>sapdb-DB</nickName>
    <url>//127.0.0.1</url>
    <dbType>sapdb</dbType>
    <dbName>TESTDB</dbName>
    <user>DBA</user>
    <password>DBA</password>
    <encoding>ISO-8859-1</encoding>
   </db>
   <db>
    <nickName>mysql-DB</nickName>
    <url>//127.0.0.1</url>
    <dbType>mysql</dbType>
    <dbName>mysql</dbName>
    <user>root</user>
    <password></password>
    <encoding>ISO-8859-1</encoding>
   </db>
  </dbs>
...
 </properties>
© Copyright 2007-2008 - DB-Everywhere.com , All Rights Reserved - contacts: gbshape@db-everywhere.com