[jboss-user] [JBoss Seam] - Straightforward ejb3 mapping problem

beligum do-not-reply at jboss.com
Thu Jan 18 04:32:22 EST 2007


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.

Bram

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003195#4003195

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003195



More information about the jboss-user mailing list