persistence@glassfish.java.net

Re: why Embeddable and MappedSuperclass are required in persistence.xml file?

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Fri, 04 Aug 2006 09:57:16 -0700

Isn't it required by the spec?

thanks,
-marina

Tom Ware wrote:
> I think an enhancement request to remove this requirement would be a
> good thing to add to the issue tracker.
>
> -Tom
>
> Sanjeeb Kumar Sahoo wrote:
>
>> Hi,
>>
>> I understand why a user has to specify *Entity* class in
>> persistence.xml on Java SE environment. But why does a user have to
>> specify *Embeddable* & *MappedSuperclass* list?
>>
>> Thanks,
>> Sahoo
>>
>>