Branch: refs/heads/7.1
Home:
https://github.com/hibernate/hibernate-orm
Commit: 2f2fd3d16342dd35d63572f6a68ebe7ddc72545b
https://github.com/hibernate/hibernate-orm/commit/2f2fd3d16342dd35d63572f...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2025-12-09 (Tue, 09 Dec 2025)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/SessionFactory.java
M hibernate-core/src/main/java/org/hibernate/graph/GraphParser.java
Log Message:
-----------
retrospectively mark operations @Incubating
New API operations should generally be marked @Incubating,
especially when they occur on prominent interfaces like
Session, Query, or SessionFactory. These ones weren't.
(Sometimes we forget.) And there was a reason they should
have been: their signatures are not type safe, featuring
an unbound type parameter in the return type, even though
their type argument is reified internally. So a
RootGraph<Book> can masquerade as a RootGraph<Author>.
This is a big antipattern that I've been trying to
systematically root out throughout the whole codebase.
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications