ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik van Oosten (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Commented: (IBATIS-609) ibator does not support generics in javaType attribute
Date Wed, 17 Jun 2009 06:32:07 GMT

    [ https://issues.apache.org/jira/browse/IBATIS-609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720516#action_12720516
] 

Erik van Oosten commented on IBATIS-609:
----------------------------------------

I realize that :) ,  I am using a TypeHandler to convert a comma separated varchar to a Set.

> ibator does not support generics in javaType attribute
> ------------------------------------------------------
>
>                 Key: IBATIS-609
>                 URL: https://issues.apache.org/jira/browse/IBATIS-609
>             Project: iBatis for Java
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Erik van Oosten
>            Assignee: Jeff Butler
>
> I tried to define a Set<UserRole>, however ibator seems to mangle the javatype.
> For example the following definition:
> <table tableName="USER" .....>
>     ....
>     <columnOverride column="ROLES" javaType="java.util.Set&lt;com.example.UserRole&gt;"
jdbcType="NVARCHAR2"/>
> </table>		
> Leads to the following generated code:
> class User {
>     private com.example.UserRole> roles;
> }
> expected was:
> class User {
>     private java.util.Set<com.example.UserRole> roles;
> }
> Tested with ibator 1.2.2-SNAPSHOT of around 2009-06-16.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message