When I have a unique proerty for my entity, I can simply use @Id to specify it 
as the primary key. If I want to have a combine primary key(e.g. lastname, 
firstname), what's the simplest way to do make the primary key. I did a search 
on google and it seems I have to create another class in order to make a 
combined primary key. Is this the only way of doing it?

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to