Files
Marc Wrobel ce994f9ea0 Fix typos in documentations.
Fix typos in READMEs, javadoc, comments and code.

Original pull request #642
2022-07-29 13:07:11 +02:00
..
2021-04-30 10:28:59 +02:00
2022-07-29 13:07:11 +02:00

== Spring Data JDBC mybatis

`MyBatisTests` demonstrates how some queries executed by Spring Data JDBC can be replaced with MyBatis mappings.
The domain model is based on the basic JDBC example for comparison.

The map of models is maintained by two statements configured in MyBatis mappings.

`example.springdata.jdbc.mybatis.LegoSetMapper.findAllByProperty-models` showcases how a map can be loaded by configuring the select to return instances of `Map.Entry`

`example.springdata.jdbc.mybatis.Model.insert` showcases how one can access the `MyBatisContext` and thereby the instance to save and the key of the parent entity.