[ http://issues.apache.org/jira/browse/IBATIS-230?page=all ]
     
Sven Boden closed IBATIS-230:
-----------------------------

    Fix Version: 2.2.0
     Resolution: Fixed

Fixed as in JIRA comments:

- no additional test cases
- when 2 ids of an SQL tag are the same a log warning is issued, no exception 
is thrown. If it happens in development you get notified (if you run with 
debugging set high enough), in production it will happily keep on running.

Change is in file SqlMapParser.java

> 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
>      Fix For: 2.2.0
>  Attachments: SqlMapParser.java
>
> 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

Reply via email to