Hi!
Well, here I am with the ODMG 3.0 book trying to perform OQL querys
through OJB but I really think I just dont get it.
Lets suppose I have a table A with FK to B and C where C has a FK to D
Something like this:
B
/
A
\
C
\
D
Which are mapped to the objects A, B, C and D.
Now I want to perform a query which in SQL would be:
SELECT A.a, A.b, B.c, C.d, D.e, D.f
FROM A,B,C,D
WHERE A.B_key = B.B_key
AND A.C_key = C.C_key
AND C.D_key = D.D_key
;
My questions are...
1) how could I do this on an OQL query through OJB?
2) which kind of container should I use to store the result? An
ArrayList does always do the trick?, I suppose it doesn't...
Any help will be useful!
--
Saludos,
Martin I. Levi
Centre Tecnol�gic de Transferenci�ncia de Calor
Universitat Polit�cnica de Catalunya
www.cttc.upc.edu
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]