mybatis-3 icon indicating copy to clipboard operation
mybatis-3 copied to clipboard

mapping using constructors

Open dpawlak-pgs opened this issue 3 years ago • 1 comments

Feature request? Would be good to have possibility to use auto mapping using constructors.

dpawlak-pgs avatar Jul 26 '22 12:07 dpawlak-pgs

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.

harawata avatar Jul 26 '22 18:07 harawata

No response. Closing.

harawata avatar Mar 08 '23 23:03 harawata