Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mybatis integration with mybatis #10686

Closed
developer-sunnywu opened this issue Apr 5, 2024 · 1 comment
Closed

Mybatis integration with mybatis #10686

developer-sunnywu opened this issue Apr 5, 2024 · 1 comment

Comments

@developer-sunnywu
Copy link

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.

@sdelamo
Copy link
Contributor

sdelamo commented Apr 19, 2024

We don't have any specific integration for MyBatis. If you are interested please up-vote, this micronaut-projects/micronaut-sql#815

@sdelamo sdelamo closed this as completed Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants