getModel() - JPA Root's method
Method javax.persistence.criteria.Root
EntityType<X> getModel()
Return the metamodel entity corresponding to the root.
- Returns:
- metamodel entity corresponding to the root
- Since:
- JPA 2.0