|
Spring Data JPA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<EntityGraph.EntityGraphType>
org.springframework.data.jpa.repository.EntityGraph.EntityGraphType
public static enum EntityGraph.EntityGraphType
Enum for JPA 2.1 EntityGraph types.
| Enum Constant Summary | |
|---|---|
FETCH
When the javax.persistence.fetchgraph property is used to specify an entity graph, attributes that are specified by attribute nodes of the entity graph are treated as FetchType.EAGER and attributes that are not specified are treated as FetchType.LAZY |
|
LOAD
When the javax.persistence.loadgraph property is used to specify an entity graph, attributes that are specified by attribute nodes of the entity graph are treated as FetchType.EAGER and attributes that are not specified are treated according to their specified or default FetchType. |
|
| Method Summary | |
|---|---|
String |
getKey()
|
static EntityGraph.EntityGraphType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EntityGraph.EntityGraphType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final EntityGraph.EntityGraphType LOAD
2.1 Specification: 3.7.4.2 Load Graph Semanticspublic static final EntityGraph.EntityGraphType FETCH
2.1 Specification: 3.7.4.1 Fetch Graph Semantics| Method Detail |
|---|
public static EntityGraph.EntityGraphType[] values()
for (EntityGraph.EntityGraphType c : EntityGraph.EntityGraphType.values()) System.out.println(c);
public static EntityGraph.EntityGraphType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getKey()
|
Spring Data JPA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||