You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Sven Boden (JIRA)" <ib...@incubator.apache.org> on 2005/12/05 21:07:08 UTC
[jira] Commented: (IBATIS-230) Warn when two ids of a tag are identical
[ http://issues.apache.org/jira/browse/IBATIS-230?page=comments#action_12359340 ]
Sven Boden commented on IBATIS-230:
-----------------------------------
Can you give a specific example, e.g. an SQLmap in which this happens. I tried it with duplicate procedures and select id's and e.g. with duplicate select id's you get the following exception:
"Cause: com.ibatis.sqlmap.client.SqlMapException: There is already a statement named searchDynamicEmployee2 in this SqlMap."
Sven
> Warn when two ids of a <sql> tag are identical
> ----------------------------------------------
>
> Key: IBATIS-230
> URL: http://issues.apache.org/jira/browse/IBATIS-230
> Project: iBatis for Java
> Type: Improvement
> Components: SQL Maps
> Versions: 2.1.6
> Environment: Windows XP, JDK 1.4.2, Eclipse 3.1
> Reporter: Thomas Noirez
> Priority: Minor
>
> When they are two <sql> tags with the same id, the last read is the one !
> but may be a warning will be usefull to say that id already exists...
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira