@@ -2030,7 +2030,7 @@ interface SessionFactory extends AutoCloseable {
20302030
20312031
20322032 /**
2033- * Perform work using a {@link Session reactive session}.
2033+ * Perform work using a {@linkplain Session reactive session}.
20342034 * <p>
20352035 * <il>
20362036 * <li>If there is already a session associated with the current
@@ -2049,7 +2049,7 @@ interface SessionFactory extends AutoCloseable {
20492049 <T > Uni <T > withSession (Function <Session , Uni <T >> work );
20502050
20512051 /**
2052- * Perform work using a {@link Session reactive session} for
2052+ * Perform work using a {@linkplain Session reactive session} for
20532053 * a specified tenant.
20542054 * <p>
20552055 * <il>
@@ -2069,12 +2069,12 @@ interface SessionFactory extends AutoCloseable {
20692069 <T > Uni <T > withSession (String tenantId , Function <Session , Uni <T >> work );
20702070
20712071 /**
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}.
20742074 * <p>
20752075 * <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
20782078 * session.
20792079 * <li>Otherwise, if there is no session associated with the
20802080 * current stream, a new session will be created.
@@ -2092,12 +2092,12 @@ interface SessionFactory extends AutoCloseable {
20922092 <T > Uni <T > withTransaction (BiFunction <Session , Transaction , Uni <T >> work );
20932093
20942094 /**
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.
20972097 * <p>
20982098 * <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
21012101 * session.
21022102 * <li>Otherwise, if there is no session associated with the
21032103 * current stream, a new session will be created.
@@ -2117,8 +2117,8 @@ default <T> Uni<T> withTransaction(Function<Session, Uni<T>> work) {
21172117 }
21182118
21192119 /**
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}.
21222122 * <p>
21232123 * <il>
21242124 * <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) {
21282128 * current stream, a new stateless session will be created.
21292129 * </il>
21302130 * <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.
21322133 *
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}.
21352136 *
21362137 * @see #withStatelessSession(Function)
21372138 * @see StatelessSession#withTransaction(Function)
@@ -2141,8 +2142,8 @@ default <T> Uni<T> withStatelessTransaction(Function<StatelessSession, Uni<T>> w
21412142 }
21422143
21432144 /**
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}.
21462147 * <p>
21472148 * <il>
21482149 * <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
21522153 * current stream, a new stateless session will be created.
21532154 * </il>
21542155 * <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.
21562158 *
21572159 * @param work a function which accepts the stateless session and returns
21582160 * the result of the work as a {@link Uni}.
@@ -2163,7 +2165,7 @@ default <T> Uni<T> withStatelessTransaction(Function<StatelessSession, Uni<T>> w
21632165 <T > Uni <T > withStatelessTransaction (BiFunction <StatelessSession , Transaction , Uni <T >> work );
21642166
21652167 /**
2166- * Perform work using a {@link StatelessSession stateless session}.
2168+ * Perform work using a {@linkplain StatelessSession stateless session}.
21672169 * <p>
21682170 * <il>
21692171 * <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
21812183 <T > Uni <T > withStatelessSession (Function <StatelessSession , Uni <T >> work );
21822184
21832185 /**
2184- * Perform work using a {@link StatelessSession stateless session}.
2186+ * Perform work using a {@linkplain StatelessSession stateless session}.
21852187 * <p>
21862188 * <il>
21872189 * <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.
21902192 * <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.
21922195 * </il>
21932196 * <p>
21942197 * The session will be closed automatically.
@@ -2200,15 +2203,17 @@ default <T> Uni<T> withStatelessTransaction(Function<StatelessSession, Uni<T>> w
22002203 <T > Uni <T > withStatelessSession (String tenantId , Function <StatelessSession , Uni <T >> work );
22012204
22022205 /**
2203- * Perform work using a {@link Session reactive session} for a
2204- * specified tenant within an associated {@link Transaction transaction}.
2206+ * Perform work using a {@linkplain Session reactive session} for
2207+ * the tenant with the specified tenant id within an associated
2208+ * {@link Transaction transaction}.
22052209 * <p>
22062210 * <il>
2207- * <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+ * <li>If there is already a session associated with the current
2212+ * reactive stream and given tenant id, then the work will be
2213+ * executed using that session.
22102214 * <li>Otherwise, if there is no session associated with the
2211- * current stream and given tenant id, a new stateless session will be created.
2215+ * current stream and given tenant id, a new stateless session
2216+ * will be created.
22122217 * </il>
22132218 * <p>
22142219 * The session will be {@link Session#flush() flushed} and closed
@@ -2224,18 +2229,21 @@ default <T> Uni<T> withStatelessTransaction(Function<StatelessSession, Uni<T>> w
22242229 <T > Uni <T > withTransaction (String tenantId , BiFunction <Session , Transaction , Uni <T >> work );
22252230
22262231 /**
2227- * Perform work using a {@link StatelessSession reactive session} for a
2228- * specified tenant within an associated {@link Transaction transaction}.
2232+ * Perform work using a {@linkplain StatelessSession reactive session}
2233+ * for the tenant with the specified tenant id within an associated
2234+ * {@link Transaction transaction}.
22292235 * <p>
22302236 * <il>
22312237 * <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.
2238+ * current reactive stream and given tenant id, then the work will be
2239+ * executed using that session.
22342240 * <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.
2241+ * current stream and given tenant id, a new stateless session will be
2242+ * created.
22362243 * </il>
22372244 * <p>
2238- * The session will be closed automatically and the transaction committed automatically.
2245+ * The session will be closed automatically and the transaction committed
2246+ * automatically.
22392247 *
22402248 * @param tenantId the id of the tenant
22412249 * @param work a function which accepts the stateless session and returns
0 commit comments