File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
hibernate-core/src/main/java/org/hibernate/graph Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 32
32
* combine creation of a subgraph with creation of a treated subgraph.
33
33
* <p>
34
34
* Extends the JPA-defined {@link jakarta.persistence.Graph} with additional operations.
35
+ * <p>
36
+ * There are a range of ways to create {@code Graph}s:
37
+ * <ul>
38
+ * <li>programmatically, beginning with {@link org.hibernate.Session#createEntityGraph(Class)},
39
+ * <li>using the {@link jakarta.persistence.NamedEntityGraph @NamedEntityGraph} annotation, or
40
+ * <li>using the mini-language understood by {@link GraphParser}.
41
+ * </ul>
35
42
*
36
43
* @apiNote Historically, both {@link jakarta.persistence.EntityGraph} and this interface
37
44
* declared operations with incorrect generic types, leading to unsound code. This was
46
53
* @see SubGraph
47
54
* @see jakarta.persistence.EntityGraph
48
55
* @see jakarta.persistence.Subgraph
56
+ * @see GraphParser
57
+ * @see EntityGraphs
49
58
*/
50
59
public interface Graph <J > extends GraphNode <J >, jakarta .persistence .Graph <J > {
51
60
You can’t perform that action at this time.
0 commit comments