mybatis-3
mybatis-3 copied to clipboard
mapping using constructors
Feature request? Would be good to have possibility to use auto mapping using constructors.
Hello @dpawlak-pgs ,
It is already supported.
If it's a new project, I would recommend enabling argNameBasedConstructorAutoMapping in the config.
https://mybatis.org/mybatis-3/configuration.html
See the tests in this directory for basic usage.
If you have any difficulty, post a question to the mailing list or StackOverflow. Be sure to include the details if you want useful replies.
If your request is something different, please elaborate.
No response. Closing.