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/03 20:53:31 UTC

[jira] Commented: (IBATIS-190) Duplicate alias-check

    [ http://issues.apache.org/jira/browse/IBATIS-190?page=comments#action_12359238 ] 

Sven Boden commented on IBATIS-190:
-----------------------------------

IBATIS-190 can be closed. I tried to debug the problem, but the fix is already in SVN. In com.ibatis.sqlmap.engine.type.TypeHandlerFactory method putTypeAlias() a check is done for existing type aliases, and an SqlMapException is thrown when a typealias appears more than once with a different value.

> Duplicate alias-check
> ---------------------
>
>          Key: IBATIS-190
>          URL: http://issues.apache.org/jira/browse/IBATIS-190
>      Project: iBatis for Java
>         Type: Improvement
>   Components: SQL Maps
>     Reporter: Niels Beekman
>     Priority: Minor

>
> Currently iBATIS accepts multiple types from the same alias, it would be nice if iBATIS throws an exception when overriding a previously created alias, this could save some debugging.

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