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/02/12 21:58:12 UTC

[jira] Closed: (IBATIS-72) Placeholders in sqlmap are not resolved in config

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

      Assign To: Clinton Begin
     Resolution: Fixed
    Fix Version: 2.0.9b


Passed vars.properties to parseAttributes

> Placeholders in sqlmap are not resolved in config
> -------------------------------------------------
>
>          Key: IBATIS-72
>          URL: http://issues.apache.org/jira/browse/IBATIS-72
>      Project: iBatis for Java
>         Type: Bug
>     Versions: 2.0.9
>     Reporter: S Boyd
>     Assignee: Clinton Begin
>      Fix For: 2.0.9b

>
> This configuration file does not work.  It did work in v2.0.8.  
> <sqlMapConfig>
> 	<properties resource="some_prop_file.ext"/>
> 	<sqlMap resource="sqlMaps/${database}/account.xml"/>
> 	
> </sqlMapConfig>
> Here is the exception message:
> Exception:
> Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause:
> java.lang.RuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'.
> Cause: java.io.IOException: Could not find resource ${database}
> See also mailing list archive:  http://www.mail-archive.com/ibatis-user-java@incubator.apache.org/msg0

-- 
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