Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Query Object Graph by Levels
Query Object Graph by Levels [message #1102884] Fri, 06 September 2013 06:51
Hannes Kühtreiber is currently offline Hannes KühtreiberFriend
Messages: 21
Registered: June 2013
Junior Member
Lets say I have the following object graph:

Bicycle -> Wheel -> Spoke -> Manufacturer -> Address

all 1:n relations.

when I query for the Bike, I also want to load the Wheel objects, but I am not interested in the Spoke Manufacturer and its Address.

But if I load the Spoke, I do want the Manufacturer, and if I load the Manufacturer I also want the Address.
So, with every query I want the Object asked for plus one level down, but not the whole graph.

Is there a way in mapping or designing the query to do this?
Hannes
Previous Topic:EclipseLink Error Message 207
Next Topic:Patch for Memoryleak
Goto Forum:
  


Current Time: Wed Apr 24 22:46:48 GMT 2024

Powered by FUDForum. Page generated in 0.02947 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top