persistence@glassfish.java.net

Re: ManyToOne: Missing meta data for class [java.lang.String]

From: Farrukh S. Najmi <farrukh_at_wellfleetsoftware.com>
Date: Wed, 13 Sep 2006 15:01:33 -0400

Sanjeeb Kumar Sahoo wrote:
> Thanks for clarifying that you have made a conscious decision to
> annotate RegistryObject as a MappedSuperclass. A MappedSuperclass can't
> be target of a relationship, but your object model have such
> relationships. It should have been an Abstract Entity class, but then
> your relational schema can't be changed and TopLink Essential does not
> support TABLE_PER_CLASS strategy. So, I can't think of a solution right
> now. Without such constraints, I would have coded like this (it answers
> your question about PropertyPK class):
>
...

Thanks again Sahoo for the very clear answers.

Any answer to my question below?
The answer will determine how I deal with above
problem.

Thanks.

>>
>> BTW any guess as to when InheritanceType.TABLE_PER_CLASS will be
>> supported?
...

-- 
Regards,
Farrukh
Web: http://www.wellfleetsoftware.com