From a user's point, a single file to configure database access is easier to maintain. DBMS specific settings will be stored using the property files already available, but properties used by all
JDBC drivers are stored in another file. The user only have to change this file. Also, I added a property for the database name, which is hardcoded by now.
/WEB-INF/config/database.properties:
/WEB-INF/config/database/mysql/mysql.properties
/WEB-INF/config/database/postresql/postgresql.properties
The database specific section in /WEB-INF/config/SystemGlobals.properties must be removed. A single property will be added instead:
changes in src/net/jform/ConfigPool.java
[originally posted on jforum.net by squizzz]