Browse Source

Consistently refer to `t_actor` table

pull/24766/head
Sam Brannen 5 years ago
parent
commit
5be0db9259
  1. 6
      src/docs/asciidoc/data-access.adoc

6
src/docs/asciidoc/data-access.adoc

@ -2848,13 +2848,13 @@ The following example deletes an entry:
.Java .Java
---- ----
this.jdbcTemplate.update( this.jdbcTemplate.update(
"delete from actor where id = ?", "delete from t_actor where id = ?",
Long.valueOf(actorId)); Long.valueOf(actorId));
---- ----
[source,kotlin,indent=0,subs="verbatim,quotes",role="secondary"] [source,kotlin,indent=0,subs="verbatim,quotes",role="secondary"]
.Kotlin .Kotlin
---- ----
jdbcTemplate.update("delete from actor where id = ?", actorId.toLong()) jdbcTemplate.update("delete from t_actor where id = ?", actorId.toLong())
---- ----
[[jdbc-JdbcTemplate-examples-other]] [[jdbc-JdbcTemplate-examples-other]]
@ -3812,7 +3812,7 @@ interface, `BatchPreparedStatementSetter`, and passing that implementation in as
in your `batchUpdate` method call. You can use the `getBatchSize` method to provide the size of in your `batchUpdate` method call. You can use the `getBatchSize` method to provide the size of
the current batch. You can use the `setValues` method to set the values for the parameters of the current batch. You can use the `setValues` method to set the values for the parameters of
the prepared statement. This method is called the number of times that you the prepared statement. This method is called the number of times that you
specified in the `getBatchSize` call. The following example updates the `actor` table specified in the `getBatchSize` call. The following example updates the `t_actor` table
based on entries in a list, and the entire list is used as the batch: based on entries in a list, and the entire list is used as the batch:
[source,java,indent=0,subs="verbatim,quotes",role="primary"] [source,java,indent=0,subs="verbatim,quotes",role="primary"]

Loading…
Cancel
Save