You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Clinton Begin (JIRA)" <ib...@incubator.apache.org> on 2005/03/26 00:11:16 UTC

[jira] Closed: (IBATIS-83) Dynamically set data source and other properties in sqlmapconfig.xml

     [ http://issues.apache.org/jira/browse/IBATIS-83?page=history ]
     
Clinton Begin closed IBATIS-83:
-------------------------------

    Resolution: Invalid


Feature already exists.

> 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