I am currently working on a project that uses MyBatis annotations in mapper interfaces, as I prefer this for XML files, but I had problems with mapping associations.
i.e. loading a collection for one to many associations using a join table.
I know that annotations do not support some association mappings. Is it possible to use MyBatis with mapper interfaces in Java in any moderately complex application without resorting to xml mapping files, given the limitations?
Are there any issues combining mapper interfaces with xml mapping files.
source share