Skip to content

Commit 6e4a400

Browse files
committed
HHH-19672 - Add overloads of #find accepting entity-name
1 parent ae00af9 commit 6e4a400

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,12 @@
4343
* @author Eric Dalquist
4444
* @author Steve Ebersole
4545
*
46-
* @see Session#byId(Class)
46+
* @see Session#byId
47+
*
48+
* @deprecated Use forms of {@linkplain Session#find} accepting
49+
* {@linkplain jakarta.persistence.FindOption} instead of {@linkplain Session#byId}.
4750
*/
51+
@Deprecated(since = "7.1", forRemoval = true)
4852
public interface IdentifierLoadAccess<T> {
4953

5054
/**

0 commit comments

Comments
 (0)