2 Replies Latest reply on Jan 18, 2007 5:20 AM by Bram Biesbrouck

    Straightforward ejb3 mapping problem

    Bram Biesbrouck Newbie

      Hi all,

      I've got a simple, but annoying mapping-problem:

      My (MySQL) DB-table has a column named compositeId of type INTEGER.
      I'd like to generate that value in my Entity bean, using the getter method :

      public Integer getCompositeId();

      Somehow, my getter isn't called when I'm persisting the bean, but when I use a private variable instead, it is.

      Please help.