You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Nathan Maves (JIRA)" <ib...@incubator.apache.org> on 2004/12/21 16:41:24 UTC

[jira] Created: (IBATIS-35) Allow duplicate type aliases

Allow duplicate type aliases
----------------------------

         Key: IBATIS-35
         URL: http://nagoya.apache.org/jira/browse/IBATIS-35
     Project: iBatis for Java
        Type: Improvement
  Components: SQL Maps  
    Versions: 2.0.8    
    Reporter: Nathan Maves
    Priority: Minor


It would be nice to have the ability to declare type aliases of the same type in multiple sqlmap files.  This leads to more readable files.  I would suggest just ignoring duplicate entries that are found.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (IBATIS-35) Allow duplicate type aliases

Posted by "Brandon Goodin (JIRA)" <ib...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/IBATIS-35?page=history ]
     
Brandon Goodin closed IBATIS-35:
--------------------------------

     Assign To: Brandon Goodin
    Resolution: Won't Fix

I can see arguing both sides of this logic. So, we'll just leave things as they are.

> Allow duplicate type aliases
> ----------------------------
>
>          Key: IBATIS-35
>          URL: http://issues.apache.org/jira/browse/IBATIS-35
>      Project: iBatis for Java
>         Type: Improvement
>   Components: SQL Maps
>     Versions: 2.0.8
>     Reporter: Nathan Maves
>     Assignee: Brandon Goodin
>     Priority: Minor

>
> It would be nice to have the ability to declare type aliases of the same type in multiple sqlmap files.  This leads to more readable files.  I would suggest just ignoring duplicate entries that are found.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Reopened: (IBATIS-35) Allow duplicate type aliases

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


I actually agree with Nathan, and I think it would be relatively simple and harmless to implement.  (i.e. only ignore type aliases that are EXACTLY) the same.

> Allow duplicate type aliases
> ----------------------------
>
>          Key: IBATIS-35
>          URL: http://issues.apache.org/jira/browse/IBATIS-35
>      Project: iBatis for Java
>         Type: Improvement
>   Components: SQL Maps
>     Versions: 2.0.8
>     Reporter: Nathan Maves
>     Assignee: Brandon Goodin
>     Priority: Minor

>
> It would be nice to have the ability to declare type aliases of the same type in multiple sqlmap files.  This leads to more readable files.  I would suggest just ignoring duplicate entries that are found.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (IBATIS-35) Allow duplicate type aliases

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


> Allow duplicate type aliases
> ----------------------------
>
>          Key: IBATIS-35
>          URL: http://issues.apache.org/jira/browse/IBATIS-35
>      Project: iBatis for Java
>         Type: Improvement
>   Components: SQL Maps
>     Versions: 2.0.8
>     Reporter: Nathan Maves
>     Assignee: Brandon Goodin
>     Priority: Minor
>      Fix For: 2.1.0

>
> It would be nice to have the ability to declare type aliases of the same type in multiple sqlmap files.  This leads to more readable files.  I would suggest just ignoring duplicate entries that are found.

-- 
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] Resolved: (IBATIS-35) Allow duplicate type aliases

Posted by "Brandon Goodin (JIRA)" <ib...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/IBATIS-35?page=all ]
     
Brandon Goodin resolved IBATIS-35:
----------------------------------

     Resolution: Fixed
    Fix Version: 2.1.0

Duplicate type aliases are now allowed so long as the alias and type values must are the same. An exception will be thrown otherwise.

> Allow duplicate type aliases
> ----------------------------
>
>          Key: IBATIS-35
>          URL: http://issues.apache.org/jira/browse/IBATIS-35
>      Project: iBatis for Java
>         Type: Improvement
>   Components: SQL Maps
>     Versions: 2.0.8
>     Reporter: Nathan Maves
>     Assignee: Brandon Goodin
>     Priority: Minor
>      Fix For: 2.1.0

>
> It would be nice to have the ability to declare type aliases of the same type in multiple sqlmap files.  This leads to more readable files.  I would suggest just ignoring duplicate entries that are found.

-- 
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-35) Allow duplicate type aliases

Posted by "Brandon Goodin (JIRA)" <ib...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/IBATIS-35?page=comments#action_62516 ]
     
Brandon Goodin commented on IBATIS-35:
--------------------------------------

Sorry, i guess i was getting "close happy".

> Allow duplicate type aliases
> ----------------------------
>
>          Key: IBATIS-35
>          URL: http://issues.apache.org/jira/browse/IBATIS-35
>      Project: iBatis for Java
>         Type: Improvement
>   Components: SQL Maps
>     Versions: 2.0.8
>     Reporter: Nathan Maves
>     Assignee: Brandon Goodin
>     Priority: Minor

>
> It would be nice to have the ability to declare type aliases of the same type in multiple sqlmap files.  This leads to more readable files.  I would suggest just ignoring duplicate entries that are found.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira