Can mybatis use column annotations on the attributes of the entity class to map the result set to the entity class as jpa does?

can mybatis use column annotations on the attributes of the entity class to map the result set to the entity class as jpa does?

Mar.28,2021

Hello, not yet. Mybatis uses xml to map entity classes and @ Results and @ Result annotation mappings of dynamic sql, which are not the same as jpa.

Menu