Skip to content

Commit 2c6891b

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 f408a47 commit 2c6891b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/asciidoc/jdbc.adoc

Lines changed: 3 additions & 3 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

@@ -517,7 +517,7 @@ The instance can be modified by adding or removing {javadoc-base}/org/springfram
517517

518518
Spring Data JDBC does little to no logging on its own.
519519
Instead, the mechanics of `JdbcTemplate` to issue SQL statements provide logging.
520-
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].
520+
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].
521521

522522
[[jdbc.transactions]]
523523
== Transactionality
@@ -540,7 +540,7 @@ public interface UserRepository extends CrudRepository<User, Long> {
540540
----
541541
====
542542

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

545545
Another way to alter transactional behavior is by using a facade or service implementation that typically covers more than one repository. Its purpose is to define transactional boundaries for non-CRUD operations. The following example shows how to create such a facade:
546546

0 commit comments

Comments
 (0)