org.hibernate.EnabledFetchProfile Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
Hibernate's core ORM functionality
The newest version!
/*
* SPDX-License-Identifier: LGPL-2.1-or-later
* Copyright Red Hat Inc. and Hibernate Authors
*/
package org.hibernate;
import jakarta.persistence.FindOption;
/**
* A {@link jakarta.persistence.FindOption} which requests a named
* {@linkplain org.hibernate.annotations.FetchProfile fetch profile}.
*
* @param profileName the {@link org.hibernate.annotations.FetchProfile#name()}
*
* @since 7.0
*
* @see org.hibernate.annotations.FetchProfile
* @see Session#find(Class, Object, FindOption...)
*
* @author Gavin King
*/
public record EnabledFetchProfile(String profileName)
implements FindOption {
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy