Menu

#187 Hibernate plugin generates Object instead of String

open
nobody
None
5
2005-08-24
2005-08-24
Anonymous
No

While using the Hibernate plugin for HibernateIde 1.3.2 I
noticed it created an "Object" type instead of a String for
several columns in a mapping file one table.

Discussion

  • Chuck Prezzano

    Chuck Prezzano - 2005-12-07

    Logged In: YES
    user_id=1374650

    I have the same problem. In my case I have a view in an
    Informix database. One of the views columns is the output
    from the null value ('nvl') function. This column is set as
    an Object in the mapping file.

     
  • Nobody/Anonymous

    Logged In: NO

    I'm using MySql and this happens with int collumns.
    Instead of java.lang.Integer, middlegen generates java.lang.Object.

     

Log in to post a comment.