My understanding of the specification is that in JavaSE, all the managed
classes including Embeddable & MappedSuperclass should be listed to
ensure portability.
That does not prevent us from implementing a feature that allows users
to exclude them.
-Tom
Marina Vatkina wrote:
>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
>>>
>>>
>>>
>>>
--
Tom Ware
Principal Software Engineer
Oracle Canada Inc.
Direct: (613) 783-4598
Email: tom.ware_at_oracle.com