From 114a82d4383b50a2a04955eb5e0c141677c91257 Mon Sep 17 00:00:00 2001 From: Gavin Date: Thu, 22 Dec 2022 17:57:56 +0100 Subject: [PATCH] add some missing @since tags --- .../src/main/java/org/hibernate/cfg/Configuration.java | 2 ++ .../src/main/java/org/hibernate/query/SelectionQuery.java | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java b/hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java index b3b12ee9f0..a3c26897e1 100644 --- a/hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java +++ b/hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java @@ -869,6 +869,8 @@ public class Configuration { /** * Add an {@link EntityNameResolver} to this configuration. + * + * @since 6.2 */ public void addEntityNameResolver(EntityNameResolver entityNameResolver) { if ( entityNameResolvers == null ) { diff --git a/hibernate-core/src/main/java/org/hibernate/query/SelectionQuery.java b/hibernate-core/src/main/java/org/hibernate/query/SelectionQuery.java index f691925465..7a4a67ac3f 100644 --- a/hibernate-core/src/main/java/org/hibernate/query/SelectionQuery.java +++ b/hibernate-core/src/main/java/org/hibernate/query/SelectionQuery.java @@ -287,11 +287,15 @@ public interface SelectionQuery extends CommonQueryContract { /** * @see #getCacheMode() + * + * @since 6.2 */ CacheStoreMode getCacheStoreMode(); /** * @see #getCacheMode() + * + * @since 6.2 */ CacheRetrieveMode getCacheRetrieveMode(); @@ -308,11 +312,15 @@ public interface SelectionQuery extends CommonQueryContract { /** * @see #setCacheMode(CacheMode) + * + * @since 6.2 */ SelectionQuery setCacheStoreMode(CacheStoreMode cacheStoreMode); /** * @see #setCacheMode(CacheMode) + * + * @since 6.2 */ SelectionQuery setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode);