About CriteriaQuery

41-50 of 85Refresh
JPA Doc
7

javax.persistence.criteria.MapJoin

: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from(Person.class); q.select(p) .where(cb.isMember("joe", p. >get("nicknames"))); rather than: CriteriaQuery q = cb
JPA Doc
7

javax.persistence.criteria.Path

: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from(Person.class); q.select(p) .where(cb.isMember("joe", p. >get("nicknames"))); rather than: CriteriaQuery
JPA Doc
7

javax.persistence.criteria.PluralJoin

. For example: CriteriaQuery q = cb.createQuery(Person.class); Root p ... "))); rather than: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from(Person.class); Path > nicknames = p
JPA Doc
7

javax.persistence.criteria.Root

variables. For example: CriteriaQuery q = cb.createQuery(Person.class ... "))); rather than: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from(Person.class); Path
JPA Doc
7

javax.persistence.criteria.SetJoin

the get operation in order to avoid the use of Path variables. For example: CriteriaQuery ... ) .where(cb.isMember("joe", p. >get("nicknames"))); rather than: CriteriaQuery q = cb.createQuery
JPA Doc
7

javax.persistence.EntityManagerFactory

of CriteriaBuilder for the creation of CriteriaQuery objects. Return an instance of CriteriaBuilder for the creation of CriteriaQuery objects. Returns: CriteriaBuilder instance Throws
JPA Doc
5

getCriteriaBuilder()

Method javax.persistence.EntityManager CriteriaBuilder getCriteriaBuilder() Return an instance of CriteriaBuilder for the creation of CriteriaQuery objects. Returns: CriteriaBuilder instance Throws: IllegalStateException - if the entity manager has been closed Since: JPA 2.0
JPA Doc
5

getCriteriaBuilder()

Method javax.persistence.EntityManagerFactory CriteriaBuilder getCriteriaBuilder() Return an instance of CriteriaBuilder for the creation of CriteriaQuery objects. Returns: CriteriaBuilder instance Throws: IllegalStateException - if the entity manager factory has been closed Since: JPA 2.0
JPA Doc
5

getRoots()

Method javax.persistence.criteria.AbstractQuery Set> getRoots() Return the query roots. These are the roots that have been defined for the CriteriaQuery or Subquery itself, including any subquery roots defined as a result of correlation. Returns empty set if no roots have been defined
JPA Doc
5

javax.persistence.criteria.Subquery

that have been defined for the CriteriaQuery or Subquery itself, including any subquery roots defined as