[HHH-15259] Explicitly add JavaDoc to make @deprecated hint visible in Eclipse

Signed-off-by: Sven Strickroth <email@cs-ware.de>
This commit is contained in:
Sven Strickroth 2022-05-09 16:54:29 +02:00 committed by Christian Beikov
parent 22074e3dcb
commit d03588fd29
1 changed files with 12 additions and 2 deletions

View File

@ -1310,9 +1310,19 @@ public interface Session extends SharedSessionContract, EntityManager {
@Override
<R> Query<R> createQuery(CriteriaQuery<R> criteriaQuery);
@Override @Deprecated @SuppressWarnings("rawtypes")
/**
* Create a {@link MutationQuery} for the given JPA {@link CriteriaDelete}
*
* @deprecated use {@link #createMutationQuery(CriteriaDelete)}
*/
@Override @Deprecated(since = "6.0") @SuppressWarnings("rawtypes")
Query createQuery(CriteriaDelete deleteQuery);
@Override @Deprecated @SuppressWarnings("rawtypes")
/**
* Create a {@link MutationQuery} for the given JPA {@link CriteriaUpdate}
*
* @deprecated use {@link #createMutationQuery(CriteriaUpdate)}
*/
@Override @Deprecated(since = "6.0") @SuppressWarnings("rawtypes")
Query createQuery(CriteriaUpdate updateQuery);
}