ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sven Boden (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Commented: (IBATIS-230) Warn when two ids of a <sql> tag are identical
Date Mon, 05 Dec 2005 20:07:08 GMT
    [ 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."


> 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:
For more information on JIRA, see:

View raw message