@@ -2030,7 +2030,7 @@ interface SessionFactory extends AutoCloseable {
2030
2030
2031
2031
2032
2032
/**
2033
- * Perform work using a {@link Session reactive session}.
2033
+ * Perform work using a {@linkplain Session reactive session}.
2034
2034
* <p>
2035
2035
* <il>
2036
2036
* <li>If there is already a session associated with the current
@@ -2049,7 +2049,7 @@ interface SessionFactory extends AutoCloseable {
2049
2049
<T > Uni <T > withSession (Function <Session , Uni <T >> work );
2050
2050
2051
2051
/**
2052
- * Perform work using a {@link Session reactive session} for
2052
+ * Perform work using a {@linkplain Session reactive session} for
2053
2053
* a specified tenant.
2054
2054
* <p>
2055
2055
* <il>
@@ -2069,12 +2069,12 @@ interface SessionFactory extends AutoCloseable {
2069
2069
<T > Uni <T > withSession (String tenantId , Function <Session , Uni <T >> work );
2070
2070
2071
2071
/**
2072
- * Perform work using a {@link Session reactive session} within an
2073
- * associated {@link Transaction transaction}.
2072
+ * Perform work using a {@linkplain Session reactive session}
2073
+ * within an associated {@link Transaction transaction}.
2074
2074
* <p>
2075
2075
* <il>
2076
- * <li>If there is already a session associated with the
2077
- * current reactive stream, then the work will be executed using that
2076
+ * <li>If there is already a session associated with the current
2077
+ * reactive stream, then the work will be executed using that
2078
2078
* session.
2079
2079
* <li>Otherwise, if there is no session associated with the
2080
2080
* current stream, a new session will be created.
@@ -2092,12 +2092,12 @@ interface SessionFactory extends AutoCloseable {
2092
2092
<T > Uni <T > withTransaction (BiFunction <Session , Transaction , Uni <T >> work );
2093
2093
2094
2094
/**
2095
- * Perform work using a {@link Session reactive session} within an
2096
- * associated transaction.
2095
+ * Perform work using a {@linkplain Session reactive session}
2096
+ * within an associated transaction.
2097
2097
* <p>
2098
2098
* <il>
2099
- * <li>If there is already a session associated with the
2100
- * current reactive stream, then the work will be executed using that
2099
+ * <li>If there is already a session associated with the current
2100
+ * reactive stream, then the work will be executed using that
2101
2101
* session.
2102
2102
* <li>Otherwise, if there is no session associated with the
2103
2103
* current stream, a new session will be created.
@@ -2117,8 +2117,8 @@ default <T> Uni<T> withTransaction(Function<Session, Uni<T>> work) {
2117
2117
}
2118
2118
2119
2119
/**
2120
- * Perform work using a {@link StatelessSession reactive session} within an
2121
- * associated {@link Transaction transaction}.
2120
+ * Perform work using a {@linkplain StatelessSession reactive session}
2121
+ * within an associated {@link Transaction transaction}.
2122
2122
* <p>
2123
2123
* <il>
2124
2124
* <li>If there is already a stateless session associated with the
@@ -2128,10 +2128,11 @@ default <T> Uni<T> withTransaction(Function<Session, Uni<T>> work) {
2128
2128
* current stream, a new stateless session will be created.
2129
2129
* </il>
2130
2130
* <p>
2131
- * The session will be closed automatically and the transaction committed automatically.
2131
+ * The session will be closed automatically and the transaction committed
2132
+ * automatically.
2132
2133
*
2133
- * @param work a function which accepts the stateless session and returns
2134
- * the result of the work as a {@link Uni}.
2134
+ * @param work a function which accepts the stateless session and
2135
+ * returns the result of the work as a {@link Uni}.
2135
2136
*
2136
2137
* @see #withStatelessSession(Function)
2137
2138
* @see StatelessSession#withTransaction(Function)
@@ -2141,8 +2142,8 @@ default <T> Uni<T> withStatelessTransaction(Function<StatelessSession, Uni<T>> w
2141
2142
}
2142
2143
2143
2144
/**
2144
- * Perform work using a {@link StatelessSession reactive session} within an
2145
- * associated {@link Transaction transaction}.
2145
+ * Perform work using a {@linkplain StatelessSession reactive session}
2146
+ * within an associated {@link Transaction transaction}.
2146
2147
* <p>
2147
2148
* <il>
2148
2149
* <li>If there is already a stateless session associated with the
@@ -2152,7 +2153,8 @@ default <T> Uni<T> withStatelessTransaction(Function<StatelessSession, Uni<T>> w
2152
2153
* current stream, a new stateless session will be created.
2153
2154
* </il>
2154
2155
* <p>
2155
- * The session will be closed automatically and the transaction committed automatically.
2156
+ * The session will be closed automatically and the transaction committed
2157
+ * automatically.
2156
2158
*
2157
2159
* @param work a function which accepts the stateless session and returns
2158
2160
* the result of the work as a {@link Uni}.
@@ -2163,7 +2165,7 @@ default <T> Uni<T> withStatelessTransaction(Function<StatelessSession, Uni<T>> w
2163
2165
<T > Uni <T > withStatelessTransaction (BiFunction <StatelessSession , Transaction , Uni <T >> work );
2164
2166
2165
2167
/**
2166
- * Perform work using a {@link StatelessSession stateless session}.
2168
+ * Perform work using a {@linkplain StatelessSession stateless session}.
2167
2169
* <p>
2168
2170
* <il>
2169
2171
* <li>If there is already a stateless session associated with the
@@ -2181,14 +2183,15 @@ default <T> Uni<T> withStatelessTransaction(Function<StatelessSession, Uni<T>> w
2181
2183
<T > Uni <T > withStatelessSession (Function <StatelessSession , Uni <T >> work );
2182
2184
2183
2185
/**
2184
- * Perform work using a {@link StatelessSession stateless session}.
2186
+ * Perform work using a {@linkplain StatelessSession stateless session}.
2185
2187
* <p>
2186
2188
* <il>
2187
2189
* <li>If there is already a stateless session associated with the
2188
- * current reactive stream and given tenant id, then the work will be executed using that
2189
- * session.
2190
+ * current reactive stream and given tenant id, then the work will be
2191
+ * executed using that session.
2190
2192
* <li>Otherwise, if there is no stateless session associated with the
2191
- * current stream and given tenant id, a new stateless session will be created.
2193
+ * current stream and given tenant id, a new stateless session will be
2194
+ * created.
2192
2195
* </il>
2193
2196
* <p>
2194
2197
* The session will be closed automatically.
@@ -2200,15 +2203,16 @@ default <T> Uni<T> withStatelessTransaction(Function<StatelessSession, Uni<T>> w
2200
2203
<T > Uni <T > withStatelessSession (String tenantId , Function <StatelessSession , Uni <T >> work );
2201
2204
2202
2205
/**
2203
- * Perform work using a {@link Session reactive session} for a
2206
+ * Perform work using a {@linkplain Session reactive session} for a
2204
2207
* specified tenant within an associated {@link Transaction transaction}.
2205
2208
* <p>
2206
2209
* <il>
2207
2210
* <li>If there is already a session associated with the
2208
- * current reactive stream and given tenant id, then the work will be executed using that
2209
- * session.
2211
+ * current reactive stream and given tenant id, then the work
2212
+ * will be executed using that session.
2210
2213
* <li>Otherwise, if there is no session associated with the
2211
- * current stream and given tenant id, a new stateless session will be created.
2214
+ * current stream and given tenant id, a new stateless session
2215
+ * will be created.
2212
2216
* </il>
2213
2217
* <p>
2214
2218
* The session will be {@link Session#flush() flushed} and closed
@@ -2224,18 +2228,20 @@ default <T> Uni<T> withStatelessTransaction(Function<StatelessSession, Uni<T>> w
2224
2228
<T > Uni <T > withTransaction (String tenantId , BiFunction <Session , Transaction , Uni <T >> work );
2225
2229
2226
2230
/**
2227
- * Perform work using a {@link StatelessSession reactive session} for a
2228
- * specified tenant within an associated {@link Transaction transaction}.
2231
+ * Perform work using a {@linkplain StatelessSession reactive session} for
2232
+ * a specified tenant within an associated {@link Transaction transaction}.
2229
2233
* <p>
2230
2234
* <il>
2231
2235
* <li>If there is already a stateless session associated with the
2232
- * current reactive stream and given tenant id, then the work will be executed using that
2233
- * session.
2236
+ * current reactive stream and given tenant id, then the work will be
2237
+ * executed using that session.
2234
2238
* <li>Otherwise, if there is no stateless session associated with the
2235
- * current stream and given tenant id, a new stateless session will be created.
2239
+ * current stream and given tenant id, a new stateless session will be
2240
+ * created.
2236
2241
* </il>
2237
2242
* <p>
2238
- * The session will be closed automatically and the transaction committed automatically.
2243
+ * The session will be closed automatically and the transaction committed
2244
+ * automatically.
2239
2245
*
2240
2246
* @param tenantId the id of the tenant
2241
2247
* @param work a function which accepts the stateless session and returns
0 commit comments