I also dislike this behavior, but I think it is intentional. As I workaround I lowercase all the DbAttribute names in my DataMap at startup and make sure all my MappedSelects use lowercase names.
On Wed, Nov 11, 2020 at 3:38 AM Mark Stobbe <[email protected]> wrote: > Hi all, > > > > I was using MappedSelect to query for objects and I was surprised to see I > > was returned a HOLLOW object. After some investigation I found that > > in DataRowUtils.refreshObjectWithSnapshot there is a check if we > > fetched the whole object using a map. > > > > However, the check ("snapshot.containsKey(dbAttrPath)") does not take into > > account the casing difference between database and datamap. This does work > > in the rest of Cayenne, but not here. > > > > Mark > >
