Skip to content

Commit 169b9ab

Browse files
spencergibbsnicoll
authored andcommitted
Fixes syntax error in JdbcClient examples
See gh-32236
1 parent e72b523 commit 169b9ab

File tree

1 file changed

+2
-2
lines changed
  • framework-docs/modules/ROOT/pages/data-access/jdbc

1 file changed

+2
-2
lines changed

framework-docs/modules/ROOT/pages/data-access/jdbc/core.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ With a required single object result:
759759

760760
[source,java,indent=0,subs="verbatim,quotes"]
761761
----
762-
Actor actor = this.jdbcClient.sql("select first_name, last_name from t_actor where id = ?",
762+
Actor actor = this.jdbcClient.sql("select first_name, last_name from t_actor where id = ?")
763763
.param(1212L);
764764
.query(Actor.class)
765765
.single();
@@ -769,7 +769,7 @@ With a `java.util.Optional` result:
769769

770770
[source,java,indent=0,subs="verbatim,quotes"]
771771
----
772-
Optional<Actor> actor = this.jdbcClient.sql("select first_name, last_name from t_actor where id = ?",
772+
Optional<Actor> actor = this.jdbcClient.sql("select first_name, last_name from t_actor where id = ?")
773773
.param(1212L);
774774
.query(Actor.class)
775775
.optional();

0 commit comments

Comments
 (0)