Skip to content

Commit c02e41a

Browse files
committed
add missing @see annotations + use @linkplain
1 parent a36693f commit c02e41a

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

hibernate-core/src/main/java/org/hibernate/annotations/NamedNativeQuery.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@
132132
*
133133
* @see org.hibernate.query.Query#setCacheMode(CacheMode)
134134
* @see org.hibernate.jpa.SpecHints#HINT_SPEC_CACHE_STORE_MODE
135+
*
136+
* @since 6.2
135137
*/
136138
CacheStoreMode cacheStoreMode() default CacheStoreMode.USE;
137139

@@ -140,6 +142,8 @@
140142
*
141143
* @see org.hibernate.query.Query#setCacheMode(CacheMode)
142144
* @see org.hibernate.jpa.SpecHints#HINT_SPEC_CACHE_RETRIEVE_MODE
145+
*
146+
* @since 6.2
143147
*/
144148
CacheRetrieveMode cacheRetrieveMode() default CacheRetrieveMode.USE;
145149

hibernate-core/src/main/java/org/hibernate/annotations/NamedQuery.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@
5454
* {@link EntityManager#createNamedQuery(String, Class)}.
5555
*
5656
* @see jakarta.persistence.NamedQuery#resultClass()
57+
*
58+
* @since 7.0
5759
*/
5860
Class<?> resultClass() default void.class;
5961

@@ -127,6 +129,8 @@
127129
*
128130
* @see org.hibernate.query.Query#setCacheStoreMode(CacheStoreMode)
129131
* @see org.hibernate.jpa.SpecHints#HINT_SPEC_CACHE_STORE_MODE
132+
*
133+
* @since 6.2
130134
*/
131135
CacheStoreMode cacheStoreMode() default CacheStoreMode.USE;
132136

@@ -135,6 +139,8 @@
135139
*
136140
* @see org.hibernate.query.Query#setCacheRetrieveMode(CacheRetrieveMode)
137141
* @see org.hibernate.jpa.SpecHints#HINT_SPEC_CACHE_RETRIEVE_MODE
142+
*
143+
* @since 6.2
138144
*/
139145
CacheRetrieveMode cacheRetrieveMode() default CacheRetrieveMode.USE;
140146

hibernate-core/src/main/java/org/hibernate/query/QueryFlushMode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public enum QueryFlushMode {
3030
*/
3131
NO_FLUSH,
3232
/**
33-
* Let the owning {@link org.hibernate.Session session}
33+
* Let the owning {@linkplain org.hibernate.Session session}
3434
* decide whether to flush, depending on its current
3535
* {@link org.hibernate.FlushMode}.
3636
*

0 commit comments

Comments
 (0)