You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example of official miconaut website, it uses sqlSessionFactory in the Impl class, and then we inject the Impl class afterward.
My question is that can we inject the inteface class directly without create additional Impl class using SqlSessionFactory? Just like in springboot, we can do mapper scan, and the mybatis mapper interface is registered in the spring context. Thank you
I have search for the info, but seems like there is not much answer to that.
The text was updated successfully, but these errors were encountered:
Feature description
https://guides.micronaut.io/latest/micronaut-data-access-mybatis-maven-java.html
In the example of official miconaut website, it uses sqlSessionFactory in the Impl class, and then we inject the Impl class afterward.
My question is that can we inject the inteface class directly without create additional Impl class using SqlSessionFactory? Just like in springboot, we can do mapper scan, and the mybatis mapper interface is registered in the spring context. Thank you
I have search for the info, but seems like there is not much answer to that.
The text was updated successfully, but these errors were encountered: