[jOOQ/jOOQ#14383] Broken link in a logging statement and Javadoc

This commit is contained in:
Lukas Eder 2022-12-08 16:32:13 +01:00
parent 67d13e8ec1
commit 9c90643c12
2 changed files with 2 additions and 2 deletions

View File

@ -5402,7 +5402,7 @@ public interface ResultQuery<R extends Record> extends Fields, Query, Iterable<R
* <li>PostgreSQL does not like fetch sizes being combined with
* <code>{@link Connection#getAutoCommit()} == true</code>. For more
* information, see <a href=
* "http://jdbc.postgresql.org/documentation/head/query.html#query-with-cursor"
* "https://jdbc.postgresql.org/documentation/query/#getting-results-based-on-a-cursor"
* >this page here</a></li>
* </ul>
*

View File

@ -231,7 +231,7 @@ implements
// [#4511] [#4753] PostgreSQL doesn't like fetchSize with autoCommit == true
int f = SettingsTools.getFetchSize(fetchSize, ctx.settings());
if (REPORT_FETCH_SIZE_WITH_AUTOCOMMIT.contains(ctx.dialect()) && f != 0 && ctx.connection().getAutoCommit())
log.info("Fetch Size", "A fetch size of " + f + " was set on a auto-commit PostgreSQL connection, which is not recommended. See http://jdbc.postgresql.org/documentation/head/query.html#query-with-cursor");
log.info("Fetch Size", "A fetch size of " + f + " was set on a auto-commit PostgreSQL connection, which is not recommended. See https://jdbc.postgresql.org/documentation/query/#getting-results-based-on-a-cursor");
SQLException e = executeStatementAndGetFirstResultSet(ctx, rendered.skipUpdateCounts);
listener.executeEnd(ctx);