Re: Oracle TopLink + composite mapping
- From: "simon.martinelli@xxxxxxxxx" <simon.martinelli@xxxxxxxxx>
- Date: 30 Oct 2006 07:45:55 -0800
Hi,
Yes that's possible.
Map X as Aggregate Mapping.
If you now map Y as "normal" Class Mapping you can choose the
attributes of X to map to the database.
Regards, Simon
blochoo wrote:
Hello,
I have a little problem with Toplink:
I have a table in Oracle DB:
table T1 {A: integer, B: integer, C: integer}.
I want to have following mapping:
class X { int A; intB;}
class Y{ X objct; int C}
so the objct (of class X) is a composite of class Y, and both of
objects (composite and owner) are in the same table.
Is it possible to make such a mapping in TopLink?
Thanks for every helpful answer.
--
Piotr Bloch
CS @ PUT
Poland
.
- Follow-Ups:
- Re: Oracle TopLink + composite mapping
- From: blochoo
- Re: Oracle TopLink + composite mapping
- References:
- Oracle TopLink + composite mapping
- From: blochoo
- Oracle TopLink + composite mapping
- Prev by Date: Oracle TopLink + composite mapping
- Next by Date: How to call a stored procedure with white space within?
- Previous by thread: Oracle TopLink + composite mapping
- Next by thread: Re: Oracle TopLink + composite mapping
- Index(es):
Relevant Pages
|
|