Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit 77a241f

Browse files
authored
Merge pull request #31 from ProjectMapK/k163377-patch-1
Update README.md
2 parents 2345ded + e99f703 commit 77a241f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ KRowMapper
1717
- [Faster mapping than `BeanPropertyRowMapper`](https://github.com/ProjectMapK/MapKInspections#krowmapper).
1818
- Flexible and safe mapping based on function calls with `reflection`.
1919

20+
## Notes
21+
With the update to `SpringFramework 5.3`/`SpringBoot 2.4`, mapping by constructor call is now supported by the `DataClassRowMapper`.
22+
If you do not need to use an external library, please consider using this one.
23+
24+
- [DataClassRowMapper \(Spring Framework 5\.3\.6 API\) \- Javadoc](https://spring.pleiades.io/spring-framework/docs/current/javadoc-api/org/springframework/jdbc/core/DataClassRowMapper.html)
25+
2026
## Demo code
2127
Here is a comparison between writing the mapping code manually and using `KRowMapper`.
2228
The more arguments you write manually, the more you need to write, but if you use `KRowMapper` This allows you to do the mapping without writing any code.

0 commit comments

Comments
 (0)