[hibernate/hibernate-orm] e868c8: HHH-18748 Add missing overloads of find() to Session
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: e868c8c3cdd64a9d39280cee480451f156d580e6
https://github.com/hibernate/hibernate-orm/commit/e868c8c3cdd64a9d39280ce...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-21 (Mon, 21 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/Session.java
M hibernate-core/src/main/java/org/hibernate/SessionFactory.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionDelegatorBaseImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionImplementor.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionLazyDelegator.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/util/LockModeConverter.java
Log Message:
-----------
HHH-18748 Add missing overloads of find() to Session
It was always weird and inconsistent that you sometimes had to use get(),
and this is also better documented this way (i.e. Hibernate-specific
semantics of find() are not documented by EntityManager)
Also add some missing @Overload annotations
Also move some impl down off the interface
Signed-off-by: Gavin King <gavin(a)hibernate.org>
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
2 months, 1 week