All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.jpa.AvailableHints Maven / Gradle / Ivy

There is a newer version: 6.6.2.Final
Show newest version
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later
 * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html
 */
package org.hibernate.jpa;

import java.util.Map;
import java.util.Set;

import org.hibernate.jpa.internal.HintsCollector;

import jakarta.persistence.LockModeType;

/**
 * Combined set of Hibernate and Jakarta Persistence hints.
 *
 * @see jakarta.persistence.EntityManager#setProperty(String, Object)
 * @see jakarta.persistence.EntityManager#find(Class, Object, Map)
 * @see jakarta.persistence.EntityManager#find(Class, Object, LockModeType, Map)
 * @see jakarta.persistence.EntityManager#lock(Object, LockModeType, Map)
 * @see jakarta.persistence.Query#setHint
 *
 * @author Steve Ebersole
 */
public interface AvailableHints extends HibernateHints, SpecHints {
	static Set getDefinedHints() {
		return HintsCollector.getDefinedHints();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy