Criteria « Version « JPA Q&A





1. Why does my HQL query work, but a Criteria version doesn't?    stackoverflow.com

My (Fluent) NHibernate schema is a little complicated. The two classes in question here are both country-specific, and inherit from an abstract class. The point behind this is that different country ...

2. Criteria.count() in version 2.1.8    forum.hibernate.org

I saw a few weeks back some posts on the developer forum about implementing the patch for Criteria.count() into version 2.1.8. Since then I have not been able to find any message that told me the status of that update. Does anyone here know if it made it is to version 2.1.8? Or if it is still in the plan? I ...

3. Criteria Version, History, Historized data    forum.hibernate.org

Everyone, I have been looking at the Criteria quires and love them so far, except given a set of data like this. I have searched high and low and can not seem to find an example that does this. Thank you in advance. ID GroupID Value 1 1 Data 1 2 2 Data 2 3 3 Data 3 4 3 Data ...

4. Criteria version of grouping by an inner join column?    forum.hibernate.org

Say for example I mapped my tables and wanted to do a query like this using Criteria (already got it working in HQL, but keeping query languages to a minimum would be nice), how would I write this using Criteria queries? select job.* FROM job INNER JOIN partLI ON partLI.jobID=job.id INNER JOIN part ON partLI.part = part.num GROUP BY part.num,job.due job, ...