On 31/10/2014 8:58pm, Hugi Thordarson wrote: > Once again, I’m looking into migrating to Cayenne from EOF :). One question > though: Our code depends heavily on raw row fetching (data rows) that > traverses relationships. I haven’t looked much at the Cayenne code, but do > you believe adding support for this to Cayenne would be a huge undertaking? > Or does Cayenne perhaps provide an alternative method to achieve the same > results?
I'm not sure if I'm understanding correctly, but do you want to prefetch joins and create regular Java objects with all the joins pulled in for performance? Or are you talking about raw data rows which are just giant maps of key-values with data pulled from across joins? If that later, perhaps you can create a database view and map that to a Cayenne entity for read-only access. But I don't quite see the point (other than supporting your legacy code). Ari -- --------------------------> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
