|
From: <ek...@ba...> - 2003-03-27 16:44:23
|
It was right in front of me. Sorry. Am I to assume that the "name" argument used in SqlConfigService.getConfig() represents the PipelineName? I was under the assumption that it represented the ConfigName. My mistake. Sorry. As an "interesting" side-effect, this method calls SqlConfig.setString() to set the configuration information into the SqlConfig.HashMap but also calls back to SqlConfigService.setString(), which subsequently deletes the row just read and re-inserts it into the database. I understand this is generic code and that SqlConfig.setString() could be called from other places ... not just when read from the db ... I may want to "optimize" this a little when I modify the implementation to use Pipeline Name as well. Erik << Take a look at the getConfig method on com.babeldoc.sql.config.SqlConfigService - this basically selects all the config options from which starts with 'config name' and then places them in a ConfigObject. >> |