Interface EntityGraph
- All Superinterfaces:
EntityGraph
- All Known Implementing Classes:
AbstractEntityGraph,DynamicEntityGraph,NamedEntityGraph
Deprecated.
Created on 22/11/16.
- Author:
- Reda.Housni-Alaoui
-
Field Summary
Fields inherited from interface com.cosium.spring.data.jpa.entity.graph.domain2.EntityGraph
NOOP -
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<EntityGraphQueryHint>buildQueryHint(javax.persistence.EntityManager entityManager, Class<?> entityType) Deprecated.Deprecated.Deprecated.Deprecated.booleanDeprecated.Methods inherited from interface com.cosium.spring.data.jpa.entity.graph.domain2.EntityGraph
execute
-
Method Details
-
getEntityGraphType
EntityGraphType getEntityGraphType()Deprecated.- Returns:
- The type of the entity graph. May be null.
-
getEntityGraphName
String getEntityGraphName()Deprecated.- Returns:
- The name to use to retrieve the EntityGraph. May be null.
-
getEntityGraphAttributePaths
Deprecated.- Returns:
- The attribute paths. May be null.
-
isOptional
boolean isOptional()Deprecated.- Returns:
- True if the EntityGraph is optional.
Passing an optional EntityGraph to an unsupported method will not fail.
-
buildQueryHint
default Optional<EntityGraphQueryHint> buildQueryHint(javax.persistence.EntityManager entityManager, Class<?> entityType) Deprecated.- Specified by:
buildQueryHintin interfaceEntityGraph- Returns:
- A query hint to apply to a query. If empty, the entity graph will be ignored and therefore not applied to the query.
-
EntityGraphinstead.