XML + Annotation based configuration for MyBatis

前端 未结 2 2047
挽巷
挽巷 2021-01-16 04:06

Is it possible to have both the XML + Annotation based configuration for MyBatis in an application.

The reason that I am asking this is because, in my application I

2条回答
  •  悲哀的现实
    2021-01-16 04:48

    The below tags can also be used in annotation based approach.

    In that case you won't require two mapper files.

提交回复
热议问题