Skip to content

Commit eab7539

Browse files
committed
HHH-19216 - NamedEntityGraph annotation supporting Hibernate parseable format
1 parent 0ea5bd8 commit eab7539

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hibernate-core/src/main/java/org/hibernate/SessionFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ default <T> RootGraph<T> parseEntityGraph(Class<T> rootEntityClass, CharSequence
476476
}
477477

478478
/**
479-
* Creates a RootGraph for the given {@code rootEntityClass} and parses the graph text into
479+
* Creates a RootGraph for the given {@code rootEntityName} and parses the graph text into
480480
* it.
481481
*
482482
* @param rootEntityName The name of the entity to use as the base of the created root-graph
@@ -504,7 +504,7 @@ default <T> RootGraph<T> parseEntityGraph(String rootEntityName, CharSequence gr
504504
*
505505
* @throws InvalidGraphException if the textual representation is invalid.
506506
*
507-
* @apiNote The string representation is expected to just be an attribute list prefixed
507+
* @apiNote The string representation is expected to an attribute list prefixed
508508
* with the name of the root entity. E.g. {@code "Book: title, isbn, author(name, books)"}
509509
*
510510
* @since 7.0

0 commit comments

Comments
 (0)