[jboss-user] [Beginners Corner] - Composite Primary Key in an EntityBean (CMP) - XDoclet
bronks
do-not-reply at jboss.com
Sat Aug 19 13:41:39 EDT 2006
Hi!
I am new to JBossIDE and XDoclet. I have coded and deployed successfully an entity bean with a primary key with a single field.
Now I want to code a new entity bean with a Primary Key with 2 fields:
Fieldname - Type - Primary
| ordernumber - integer - PK
| itemnumber - integer - PK
| article - varchar
| amount - float
I do not know how to code that. I have used the search, google ... etc ...
Please show me a code for an entity bean with a composite key.
Thanks
Bronks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966257#3966257
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966257
More information about the jboss-user
mailing list