List<EntityGraph<?superT>> getEntityGraphs(
Class<T> entityClass
)
Return all named EntityGraphs that have been defined for the provided class type.
- Parameters:
entityClass
- entity class
- Return:
- list of all entity graphs defined for the entity
- Throws:
- IllegalArgumentException - if the class is not an entity
- Since:
- JPA 2.1