Bug in DataRowsUtils
Mark Stobbe <[email protected]>
| Newsgroups | gmane.comp.java.cayenne.user |
|---|---|
| Message-ID | <CAHdRq5-R1_RYfb3_cwbEU33Cna0Z=x7A1VnHExMjAdWdGppX6Q@mail.gmail.com> |
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