|| at May 15, 2013 at 2:05 pm
We do something similar to this. Here is a snippet that will prefetch all
the relationships on a given entity. If you want to do this via compound
keypaths, you would need to parse the keys and do this recursively, but
that might be a little dangerous in terms of fetching lots of data.
DataContext dataContext = (DataContext) object.getObjectContext();
ObjEntity objEntity =
for (Relationship relationship : objEntity.getRelationships())
On Wed, May 15, 2013 at 9:42 AM, Andrus Adamchik wrote:
Yeah, Mike is right. No way to use a wildcard. All paths should be
(Thinking whether it might be a good idea to add that in the future … )
On May 15, 2013, at 4:36 PM, Markus Reich wrote:
oops, sorry, it should be like this
2013/5/15 Michael Gentry <email@example.com
I don't see a wildcard there, but I don't think you can use wildcards on
prefetches. I think you have to specify each one.
On Wed, May 15, 2013 at 8:48 AM, Markus Reich
is it possible to use wildcards in prefetch paths?
6392 St. Jakob i.H.
www.markusreich.at / firstname.lastname@example.org