Re: Bug in DataRowsUtils

2020-11-20 Thread Andrus Adamchik
Case-sensitivity and default case conversions of DB names depend on the type of DB and even on DB configuration, making any assumptions highly unreliable. The solution to this issue between case interpretation between Cayenne model and DB is to use quotations. around identifiers Quotations make

Re: Bug in DataRowsUtils

2020-11-11 Thread Mark Stobbe
Nice, exactly the solution that I also implemented!! On Wed, Nov 11, 2020 at 2:16 PM John Huss wrote: > 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

Re: Bug in DataRowsUtils

2020-11-11 Thread John Huss
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 wrote: > Hi all, > > > > I was using MappedSelect to

Bug in DataRowsUtils

2020-11-11 Thread Mark Stobbe
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