Interface SimpleNaturalIdLoadAccess<T>


@Deprecated(since="7.3") public interface SimpleNaturalIdLoadAccess<T>
Loads an entity by its natural identifier. This simplified API is used when the entity has exactly one field or property annotated @NaturalId. If an entity has multiple attributes annotated @NaturalId, then NaturalIdLoadAccess should be used instead.
Book book = session.bySimpleNaturalId(Book.class).load(isbn);
See Also: