I'm curious how the primary key is denoted.
I see methods using things like EntityContex.getPrimaryKey() for the current entity object, but I don't understand--how/where is the primary key defined? They just all look like regular instance variables in the class...
I know that any "unique" value of the database/store can be a primary key, but how does
J2EE know which field you are even talking about?
As far as I can tell (reviewing some samples) it is never stated in any of the methods like ejbCreate, ejbStore, ejbLoad etc. So I'm a little confused
[ December 08, 2004: Message edited by: Steve Buck ]