Menu

#25 Hibernate fails on fields like aCatDesc

open
nobody
None
5
2005-10-20
2005-10-20
No

In case a database field has a name like:

<module-data name="column-
name">a_cat_descricao</module-data>

Hibernate has problems wit a property called
aCatDescricao.

Discussion

  • Romulo Diniz

    Romulo Diniz - 2006-06-27

    Logged In: YES
    user_id=1472112

    What is the fail?
    what is the database being used?

     
  • Rudie Ekkelenkamp

    Logged In: YES
    user_id=830344

    This bug was mailed to me, never had the time to look into
    it.
    But probably using just one lowercase leads to problems.
    For the aCatDescricao you need to define methods like:

    getACatDescricao(). I suppose hibernate doesn't like the
    double uppercase after the get...

     

Log in to post a comment.