Re: Apache Cayenne - Merge Data

Andrus Adamchik <[email protected]>
Newsgroups gmane.comp.java.cayenne.user
Message-ID <[email protected]>

> On Aug 15, 2019, at 12:49 PM, Keena Grepo <[email protected]> wrote:
> 
> BTW, here is my Cayenne query : 
> List<UtilizationData> utilData = ObjectSelect.query(UtilizationData.class).where(UtilizationData.EPOCH_TIME.between(dateStart, dateEnd)).orderBy(UtilizationData.HOSTNAME.desc(), UtilizationData.EPOCH_TIME.asc()).select(context);

Ah great. So you are using ObjectSelect.query, not  ObjectSelect.columnQuery. Then everything makes sense.

> Thanks for the help and for the quick reply. Following your idea and sample code, I was now able to display the data. 

Good to know that it worked. Happy to help.

Andrus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.