[jboss-user] [Beginners Corner] - Re: Mapping CMP field and PK (DB sequence) column

lafr do-not-reply at jboss.com
Thu Feb 1 17:39:10 EST 2007


Erase class level ejb.pk as you marked your pk-field.
Erase jboss.unknown-pk.

Modify entity-commmand to this
 * @jboss.entity-command        name="postgresql-fetch-seq"
 * @jboss.entity-command-attribute      name="sequence" value="info_allegato_xmoid_seq"

Erase field level "auto-increment".


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

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



More information about the jboss-user mailing list