criteriabuilder « Fetch « JPA Q&A





1. jpa criteriabuilder query disable eager fetching    stackoverflow.com

I have a person object that has a list of addresses and in the mapping it is annotated to be fetched eagerly. I have a criteriabuilder query where, say i want ...

2. Subselect to retrieve righthand-side of in-statement using CriteriaBuilder (JPA)    stackoverflow.com

I am playing around with JPA and other Java EE 6 stuff, but now I am facing some problems with a types query using the criteria Builder. The business case for my ...

3. OpenJPA criteriaBuilder nested object property fetch    stackoverflow.com

Is there any way in OpenJPA to get hold of a nested object property via CriteriaBuilder? Here's a small case.

@Entity
public class X {
       private Object Y;

 ...