I am not sure I understand the question. Something is going to have to
implement Serializable or Externalizable to be serializable, so I am
not sure what is not clear in 2.1.4.
Can you give an example?
-l
Mitesh Meswani wrote:
> Hi Markus,
>
> The spec is not very crisp here. But, I would vote to read it as your
> later interpretation.
>
> Thanks,
> Mitesh
>
> Markus KARG wrote:
>> I have a question how to interprete the EJB 3.0 Persistence
>> Specification:
>>
>> Chapter 2.1.4 "Primary Keys and Entity Identity" says: "The primary
>> key class must be serializable". Does that mean that it must
>> implement the Serializable interface, or is it enough to "just" take
>> care that somebody will be able to serialize and deserialize that
>> class? With other words, can a user rely on the fact that every
>> primary key will implement the Serializable interface, or can he
>> "only" rely on the fact that the primary key physically is
>> serializable / deserializable?
>>
>> Thanks
>> Markus
>>