Jakarta Persistence (JPA) Method
List<EntityGraph<? super T>> getEntityGraphs(
Class<T> entityClass
)
Return all named
EntityGraph<T>s that are defined for the given entity class type. - Parameters:
entityClass- entity class
- Returns:
- list of all entity graphs defined for the entity.
- Throws:
- if the class is not an entity.IllegalArgumentException
- Since:
- Jakarta Persistence (JPA) 2.1