I'm guessing that you mean "I don't want to map certain properties of my
class". Just put @Transient on these fields (or getter methods, depending where you
put @Id).
I recommend you get the basic JPA tutorial in the free chapter 2 of the book I advertise
in my signature.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042614#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...