Skip to content

Commit 5595894

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,7 @@ public interface Session extends SharedSessionContract, EntityManager {
11421142
* @throws HibernateException If the given name does not resolve to a mapped entity
11431143
*
11441144
* @deprecated This method will be removed.
1145-
* Use {@link #find(Class, Object, FindOption...)} instead.
1145+
* Use {@link #find(String, Object, FindOption...)} instead.
11461146
* See {@link FindOption}.
11471147
*/
11481148
@Deprecated(since = "7.1", forRemoval = true)

0 commit comments

Comments
 (0)