remove deprecated and unused members of QueryHints
This commit is contained in:
parent
9dcbe4c2d1
commit
d0afd6359e
|
@ -6,8 +6,6 @@
|
|||
*/
|
||||
package org.hibernate.annotations;
|
||||
|
||||
import org.hibernate.graph.GraphSemantic;
|
||||
|
||||
/**
|
||||
* Consolidation of hints available to Hibernate JPA queries. Mainly used to define features available on
|
||||
* Hibernate queries that have no corollary in JPA queries.
|
||||
|
@ -103,28 +101,6 @@ public class QueryHints {
|
|||
*/
|
||||
public static final String NATIVE_LOCKMODE = "org.hibernate.lockMode";
|
||||
|
||||
/**
|
||||
* Hint providing a "fetchgraph" EntityGraph. Attributes explicitly specified as AttributeNodes are treated as
|
||||
* FetchType.EAGER (via join fetch or subsequent select).
|
||||
*
|
||||
* Note: Currently, attributes that are not specified are treated as FetchType.LAZY or FetchType.EAGER depending
|
||||
* on the attribute's definition in metadata, rather than forcing FetchType.LAZY.
|
||||
*
|
||||
* @deprecated (since 5.4) Use {@link GraphSemantic#FETCH}'s {@link GraphSemantic#getJpaHintName()} instead
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String FETCHGRAPH = GraphSemantic.FETCH.getJpaHintName();
|
||||
|
||||
/**
|
||||
* Hint providing a "loadgraph" EntityGraph. Attributes explicitly specified as AttributeNodes are treated as
|
||||
* FetchType.EAGER (via join fetch or subsequent select). Attributes that are not specified are treated as
|
||||
* FetchType.LAZY or FetchType.EAGER depending on the attribute's definition in metadata
|
||||
*
|
||||
* @deprecated (since 5.4) Use {@link GraphSemantic#LOAD}'s {@link GraphSemantic#getJpaHintName()} instead
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String LOADGRAPH = GraphSemantic.LOAD.getJpaHintName();
|
||||
|
||||
/**
|
||||
* Hint to enable/disable the follow-on-locking mechanism provided by {@link org.hibernate.dialect.Dialect#useFollowOnLocking(QueryParameters)}.
|
||||
* A value of {@code true} enables follow-on-locking, whereas a value of {@code false} disables it.
|
||||
|
|
Loading…
Reference in New Issue