[ http://issues.apache.org/jira/browse/IBATIS-83?page=comments#action_61567 ] Scott Z commented on IBATIS-83: -------------------------------
How did I miss it?! The SqlMapClientBuilder.buildSqlMapClient() has the similar overload also. I think I'm fine with this solution. Someone can close this feature request. Thanks > Dynamically set data source and other properties in sqlmapconfig.xml > -------------------------------------------------------------------- > > Key: IBATIS-83 > URL: http://issues.apache.org/jira/browse/IBATIS-83 > Project: iBatis for Java > Type: New Feature > Components: SQL Maps > Reporter: Scott Z > Priority: Minor > > Right now, the only way you can include resource is to include a <property > resource=""/> element to include a file or url. The properties in that > resource might be used to define property values in the sqlMapConfig.xml, for > example, for the DataSource property. But sometimes we need to set this > values at runtime, i.e. we can't ask the user to put this in a predefined > property file. The values can be fetched at runtime and we need somehow feed > them to SqlMap when we parse the file and build our SqlMapClient instance. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira
