I'd like to be able to define new DB connection parameters in server.properties during run time w/o having to restart the server (i.e. the entries that defines the driver, database type, user, password, etc).
I am trying to do this in a Servlet that gets initialized after com.isomorphic.base.Init by putting new connection properties as follows:
Properties properties = getDynamicProperties();
iterate through the properties {
Config.getGlobal().put(key, value);
}
This seems to work for some DataSource.... but not those that inlcudes other DataSources.
Is there a reason why this won't work?
Version: SmertClientEE V3.0
I am trying to do this in a Servlet that gets initialized after com.isomorphic.base.Init by putting new connection properties as follows:
Properties properties = getDynamicProperties();
iterate through the properties {
Config.getGlobal().put(key, value);
}
This seems to work for some DataSource.... but not those that inlcudes other DataSources.
Is there a reason why this won't work?
Version: SmertClientEE V3.0
Comment