[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[eclipselink-users] Re: dynamic entity example code relationships with static entites? + inheritance
|
Hi,
just to build on my question I have continued experimented with these
and have another question that would love some advice: inheritance?
can a dynamic entity inherit attributes and relationships from
superclass in a standard JOINED fashion?
any advice would be great,
thank you,
-lachlan
On 15/07/2008, at 10:02 PM, Lachlan Gregor wrote:
Hi,
I was just wondering if anyone could shed some light on making use
of the feature of dynamic entities however with relationships that
map to standard static entities? From my understanding and some
trial and error i have noticed that when using the dynamic entities
a custom entityManager is required(as the dynamicEnitities do not
use persistence.xml?), than when using standard entities and the two
are not complementary?
Is there any thing that i may have overlooked?
I would like to have bi-directional relationships with the
DynamicEntity superclass(which would spawn sub-classes) to other
standard entities? however the DynamicEntity class is not an jee
entity , thus requiring a special em, which makes creating
relationships somewhat challenging?
any insight would be great, it feels like i might be missing
something?
thanks,
-lachlan