From 8608ed1ecdf15119cd533266f65cb21aedb1c7ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20Tu=C5=A1la?= Date: Fri, 6 Aug 2021 16:55:20 +0200 Subject: [PATCH] Fix typo in method call - getObjecct => getObject --- documentation/src/docs/asciidoc/user-guide/jdbc.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/src/docs/asciidoc/user-guide/jdbc.adoc b/documentation/src/docs/asciidoc/user-guide/jdbc.adoc index 75a047924..9a94d299e 100644 --- a/documentation/src/docs/asciidoc/user-guide/jdbc.adoc +++ b/documentation/src/docs/asciidoc/user-guide/jdbc.adoc @@ -145,7 +145,7 @@ counterpart datatype, and instead use `getObject` providing the type of object y ---- ResultSet rs = statement.getResultSet(); LocalDateTime incorrect = rs.getTimestamp(1).toLocalDateTime(); <1> -LocalDateTime correct = rs.getObjecct(1, LocalDateTime.class); <2> +LocalDateTime correct = rs.getObject(1, LocalDateTime.class); <2> ---- <1> [red]#Incorrect method using convenience API and conversion# <2> Correct method using `getObject` and no conversion.