org.hibernate.FetchMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of beangle-hibernate-core Show documentation
Show all versions of beangle-hibernate-core Show documentation
Hibernate Orm Core Shade,Support Scala Collection
/*
* 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 .
*/
package org.hibernate;
/**
* Represents an association fetching strategy.
*
* @apiNote This enumeration was previously used to override
* the fetching strategy specified by mapping annotations when
* using the old criteria query API. Now it is only used by
* SPIs and internal APIs.
*
* @see org.hibernate.annotations.FetchMode
*
* @author Gavin King
*/
@Internal
public enum FetchMode {
/**
* Use the default fetching strategy specified by the
* {@linkplain org.hibernate.annotations.Fetch mapping
* annotations}.
*/
DEFAULT,
/**
* Fetch in the initial select, using an outer join.
*
* @see org.hibernate.annotations.FetchMode#JOIN
*/
JOIN,
/**
* Fetch using a separate subsequent select.
*
* @see org.hibernate.annotations.FetchMode#SELECT
* @see org.hibernate.annotations.FetchMode#SUBSELECT
*/
SELECT
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy