Description
From the patch:
// post process for the fetchGroup: if there is a
// fetchgroup field, then go to the FetchConfiguration
// to get the required fetch fields.
if (fgs != null) {
if (fields == null)
fields = new BitSet(fmds.length);
BitSet fgFields = fetch.requiresFetch(fgs, fmds);
// merge the fetchgroup required fields to the original
// fields only the fields are not already loaded and
// are not in the original fields.
for (int j = 0; j < fgFields.length(); j++)
}
That code introduces an NPE if fetch is null. This is legal; see PNonTransState:108, for example.
Attachments
Attachments
Issue Links
- relates to
-
OPENJPA-370 LoadFetchGroup annotation was not recognized during the fetch1
- Closed