From 502c6610e25f2785df8dc6faf28eecf1d6e2ef38 Mon Sep 17 00:00:00 2001 From: Nathan Xu Date: Thu, 21 Apr 2022 02:57:59 -0400 Subject: [PATCH] HHH-15221 Fix a logging error in JdbcValuesCacheHit.java --- .../hibernate/sql/results/jdbc/internal/JdbcValuesCacheHit.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/JdbcValuesCacheHit.java b/hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/JdbcValuesCacheHit.java index f34614884a..38eace844e 100644 --- a/hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/JdbcValuesCacheHit.java +++ b/hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/JdbcValuesCacheHit.java @@ -136,7 +136,7 @@ public class JdbcValuesCacheHit extends AbstractJdbcValues { // we need to subtract it from `numberOfRows` final int newPosition = numberOfRows + position; ResultsLogger.RESULTS_MESSAGE_LOGGER.debugf( - "Translated negative absolute position `%i` into `%` based on `%i` number of rows", + "Translated negative absolute position `%i` into `%i` based on `%i` number of rows", position, newPosition, numberOfRows