Skip to content

Commit 253e25f

Browse files
Jay Bryantschauder
Jay Bryant
authored andcommitted
DATAJDBC-583 - Wording changes.
Removed the language of oppression and violence and replaced it with more neutral language. Note that problematic words in the code have to remain in the docs until the code changes. Original pull request: #233.
1 parent 58bf7ab commit 253e25f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/main/asciidoc/jdbc.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Also, things that are really simple conceptually get rather difficult with JPA.
2222

2323
Spring Data JDBC aims to be much simpler conceptually, by embracing the following design decisions:
2424

25-
* If you load an entity, SQL statements get executed.
25+
* If you load an entity, SQL statements get run.
2626
Once this is done, you have a completely loaded entity.
2727
No lazy loading or caching is done.
2828

@@ -705,8 +705,8 @@ You can specify the following return types:
705705
[[jdbc.mybatis]]
706706
== MyBatis Integration
707707

708-
The execution of CRUD operations and query methods can be delegated to MyBatis.
709-
This section describes how to configure Spring Data JDBC to integrate with MyBatis and which conventions to follow to hand over the execution of the queries as well as the mapping to the library.
708+
The CRUD operations and query methods can be delegated to MyBatis.
709+
This section describes how to configure Spring Data JDBC to integrate with MyBatis and which conventions to follow to hand over the running of the queries as well as the mapping to the library.
710710

711711
[[jdbc.mybatis.configuration]]
712712
=== Configuration
@@ -837,7 +837,7 @@ public ApplicationListener<BeforeSaveEvent<Object>> loggingSaves() {
837837
return event -> {
838838
839839
Object entity = event.getEntity();
840-
LOG.info("{} is getting saved.";
840+
LOG.info("{} is getting saved.");
841841
};
842842
}
843843
----
@@ -923,7 +923,7 @@ include::jdbc-custom-conversions.adoc[]
923923

924924
Spring Data JDBC does little to no logging on its own.
925925
Instead, the mechanics of `JdbcTemplate` to issue SQL statements provide logging.
926-
Thus, if you want to inspect what SQL statements are executed, activate logging for Spring's {spring-framework-docs}/data-access.html#jdbc-JdbcTemplate[`NamedParameterJdbcTemplate`] or https://www.mybatis.org/mybatis-3/logging.html[MyBatis].
926+
Thus, if you want to inspect what SQL statements are run, activate logging for Spring's {spring-framework-docs}/data-access.html#jdbc-JdbcTemplate[`NamedParameterJdbcTemplate`] or https://www.mybatis.org/mybatis-3/logging.html[MyBatis].
927927

928928
[[jdbc.transactions]]
929929
== Transactionality
@@ -949,7 +949,7 @@ public interface UserRepository extends CrudRepository<User, Long> {
949949
----
950950
====
951951

952-
The preceding causes the `findAll()` method to be executed with a timeout of 10 seconds and without the `readOnly` flag.
952+
The preceding causes the `findAll()` method to be run with a timeout of 10 seconds and without the `readOnly` flag.
953953

954954
Another way to alter transactional behavior is by using a facade or service implementation that typically covers more than one repository.
955955
Its purpose is to define transactional boundaries for non-CRUD operations.

0 commit comments

Comments
 (0)