Skip to content

Use param names for constructor auto-mapping #2192

Closed
@Nayacco

Description

@Nayacco

I want MyBatis to map automatically with the constructor by argument names without defining <constructor> ... </constructor> or @ConstructorArgs.

I am using kotlin's data class, I want mybatis to be automatically mapped, just like I did through the empty constructor and getter setter in java.

Metadata

Metadata

Assignees

Labels

enhancementImprove a feature or add a new feature

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions