Hi
I try to realize three level of inheritance in OJB. My Class C extends Class B extends Class A each data are stored
in separate tables (Table A, Table B, Table C) . I've implemented it.
Inserts work fine. Inheritance is OK, all data are stored in tables.All references are OK.
I have problems with quering objects.
I try to get all C Class object. In each object I can't get access to data which are stored in A Table (they are null).
But when I try to list A Class Objects, their data are complete.
I noticed very strange thing.
When I try to list object in this order, both methods works fine (Collection returned by method getCClassObject is OK, all object,s data are complete):
.......
Collection AClassObjects=getAClassObjects(); //getting A Class objects Collection CClassObjects=getCClassObjects(); //getting C Class objects
.......
But my problems start when I try to invoke only one method:
......
Collection CClassObjects=getCClassObjects(); //getting C Class object
......
Object of CClassObjects collection haven't data stored in A table (the mostly nested)...
I have to use the other solution... but it doesn't work.... Please help me ...
Best regards mario
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]