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


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.

Reply via email to