You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Niels Beekman (JIRA)" <ib...@incubator.apache.org> on 2005/09/12 09:21:30 UTC

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

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


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

Posted by Nathan Maves <Na...@Sun.COM>.
Niels,

I thought that this was handled in http://issues.apache.org/jira/ 
browse/IBATIS-35

Nathan

On Sep 12, 2005, at 1:21 AM, Niels Beekman (JIRA) wrote:

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


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

Posted by "Sven Boden (JIRA)" <ib...@incubator.apache.org>.
    [ 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


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

Posted by "Clinton Begin (JIRA)" <ib...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/IBATIS-190?page=all ]
     
Clinton Begin closed IBATIS-190:
--------------------------------

    Resolution: Duplicate

already fixed

> 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