Skip to content

Commit 157fed9

Browse files
committed
DATAJDBC-417 - Fixed numbering/indentation of MyBatis section.
1 parent 22b2030 commit 157fed9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/asciidoc/jdbc.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ The execution of CRUD operations and query methods can be delegated to MyBatis.
457457
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.
458458

459459
[[jdbc.mybatis.configuration]]
460-
== Configuration
460+
=== Configuration
461461

462462
The easiest way to properly plug MyBatis into Spring Data JDBC is by importing `MyBatisJdbcConfiguration` into you application configuration:
463463

@@ -478,7 +478,7 @@ class Application {
478478
As you can see, all you need to declare is a `SqlSessionFactoryBean` as `MyBatisJdbcConfiguration` relies on a `SqlSession` bean to be available in the `ApplicationContext` eventually.
479479

480480
[[jdbc.mybatis.conventions]]
481-
== Usage conventions
481+
=== Usage conventions
482482

483483
For each operation in `CrudRepository`, Spring Data JDBC runs multiple statements.
484484
If there is a https://github.com/mybatis/mybatis-3/blob/master/src/main/java/org/apache/ibatis/session/SqlSessionFactory.java[`SqlSessionFactory`] in the application context, Spring Data checks, for each step, whether the `SessionFactory` offers a statement.

0 commit comments

Comments
 (0)