Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ default <T> RootGraph<T> parseEntityGraph(Class<T> rootEntityClass, CharSequence
*
* @since 7.0
*/
@Incubating
default <T> RootGraph<T> parseEntityGraph(String rootEntityName, CharSequence graphText) {
return GraphParser.parse( rootEntityName, graphText.toString(), unwrap( SessionFactoryImplementor.class ) );
}
Expand All @@ -560,6 +561,7 @@ default <T> RootGraph<T> parseEntityGraph(String rootEntityName, CharSequence gr
*
* @since 7.0
*/
@Incubating
default <T> RootGraph<T> parseEntityGraph(CharSequence graphText) {
return GraphParser.parse( graphText.toString(), unwrap( SessionFactoryImplementor.class ) );
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import jakarta.persistence.EntityManagerFactory;
import jakarta.persistence.Subgraph;

import org.hibernate.Incubating;
import org.hibernate.SessionFactory;
import org.hibernate.engine.spi.SessionFactoryImplementor;
import org.hibernate.engine.spi.SessionImplementor;
Expand Down Expand Up @@ -89,6 +90,7 @@ public static <T> RootGraph<T> parse(
*
* @since 7.0
*/
@Incubating
public static <T> RootGraph<T> parse(
final String rootEntityName,
final CharSequence graphText,
Expand Down Expand Up @@ -117,7 +119,8 @@ public static <T> RootGraph<T> parse(
*
* @since 7.0
*/
public static <T> RootGraph<T> parse(
@Incubating
public static <T> RootGraph<T> parse(
final CharSequence graphText,
final SessionFactory sessionFactory) {
if ( graphText == null ) {
Expand Down
Loading