Is it possible to use nested mapper interface?:
package com.sample.package;public class SampleService{ public interface SampleMapper{ public List<MyEntity> selectAllEntities(); }}
And if yes:
That should work.