JPA Interface

Root

Type Parameters:
<X> - the entity type referenced by the root

A root type in the from clause. Query roots always reference entities.
Since:
JPA 2.0
The FROM clause (JPQL / Criteria API) article explains how to use Root.

Public Methods

Return the metamodel entity corresponding to the root.
Return:
metamodel entity corresponding to the root
Since:
JPA 2.0