You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "S Boyd (JIRA)" <ib...@incubator.apache.org> on 2005/02/11 01:58:12 UTC
[jira] Created: (IBATIS-72) Placeholders in sqlmap are not resolved in config
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
[jira] Commented: (IBATIS-72) Placeholders in sqlmap are not resolved in config
Posted by "Brandon Goodin (JIRA)" <ib...@incubator.apache.org>.
[ 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
[jira] Closed: (IBATIS-72) Placeholders in sqlmap are not resolved in config
Posted by "Clinton Begin (JIRA)" <ib...@incubator.apache.org>.
[ 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
[jira] Commented: (IBATIS-72) Placeholders in sqlmap are not resolved in config
Posted by "Clinton Begin (JIRA)" <ib...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/IBATIS-72?page=comments#action_58993 ]
Clinton Begin commented on IBATIS-72:
-------------------------------------
Basically, ${these} aren't being parsed for <sqlMap> attributes. It's a fairly simple fix...once we get our SVN repos. (Argh!)
> 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