Here's a trimmed down sample of the code I have:
public class Results {
public class Entry {
private Race race;
private Driver driver;
private short result_type; // race or practice
private int position;
private long time;
}
private List<Entry> practiceResults;
private List<Entry> raceResults;
}So, mapping Results.Entry would be no problem but how do I map Results itself? I'd rather be able to materialise an instance of Results directly, rather than have to do a pair of collection queries on Results.Entry and build a Results instance from them...
Am I stuck with mapping Results.Entry and managing Results instances manually or does OJB have a way to do this for me?
Thanks for any suggestions!
L.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
