On HFB p. 333 - "Rules for Primary Keys"
point 4:
A compound key class must be made up of fields that are defined as persistent fields in the bean class.The fields in the bean class must have upblic accessor methods
This only say "Compound key class" needs public accessor methods.
How about "Single key class" ?
refer to p. 370 q. 13
What's true about an CMP entity bean's primary key ?
C. All fields in the primary key class must be declared public.
//opt C is correct.
Does it mean that Single key class is not required to have public accessor ?
can I:
?