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 3232 * combine creation of a subgraph with creation of a treated subgraph.
3333 * <p>
3434 * 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>
3542 *
3643 * @apiNote Historically, both {@link jakarta.persistence.EntityGraph} and this interface
3744 * declared operations with incorrect generic types, leading to unsound code. This was
4653 * @see SubGraph
4754 * @see jakarta.persistence.EntityGraph
4855 * @see jakarta.persistence.Subgraph
56+ * @see GraphParser
57+ * @see EntityGraphs
4958 */
5059public interface Graph <J > extends GraphNode <J >, jakarta .persistence .Graph <J > {
5160
You can’t perform that action at this time.
0 commit comments