[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[eclipselink-users] dynamic entity example code relationships with static entites?
|
- From: Lachlan Gregor <lachlan.gregor@xxxxxxxxx>
- Date: Tue, 15 Jul 2008 22:02:44 -0700
- Delivered-to: eclipselink-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=cc7txn7Hn5o0deLZSNw4prd3C5dy7uuVMqBgvKBs6rM=; b=fVNsbdALvdO1RFcpFvSf2bk6WdlgwwqOQWHSh66xJN+S8RHRsyv+MjAOjqHHKE949Y AcDtaSLsvDPdpca8n4i6YwrvWkHCNZmY8BLhU8Jfz6KQQCZPGRnYnBfO4YdgA+J6qbNB CaMalUf+9JD14DLy/CEEZ/zhtGMmEzLeL2c7A=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=klUjWFyS+kZH1OWumhtSgeRUL1/Z6kWk4tnzQ7flhAmxqTTQE33Pu7FSnAJghR7HTT h/L59IRk4QuTRH6K1dy0z0nObwdEZE6GiE5hMzlFJfBsGv0xLpPN/BasgDS56FgEhVnx 91V5VvyPmA8SViH1I9Oi+N5H1h1jDzq6PHTV4=
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