You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Brandon Goodin (JIRA)" <ib...@incubator.apache.org> on 2005/02/11 04:54:12 UTC

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

     [ http://issues.apache.org/jira/browse/IBATIS-72?page=comments#action_58991 ]
     
Brandon Goodin commented on IBATIS-72:
--------------------------------------

Please post ALL the details in the JIRA issue instead of a link to the thread from the list. The link is broken and i am not able to see the larger context of your issue.

> 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

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