-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Support the GraalVM #1552
Comments
…viderSqlSource The motivation for this change is to resolve issues that prevent GraalVM support. See mybatisgh-1552
Hi @kazuki43zoo , I just find the |
Hi, I noticed a component like |
Hi @linghengqian, I'm working on Quarkus MyBatis Extension and it supports the native mode by using Graal VM but not all of the mybatis capabities have been test currently. If you are interesting with this project, feel free to use it and any feedback is welcome ! |
@siaron Thanks for adding link of mybatis-spring-native. |
The mybatis-plus framework is an extension to myabtis. Consider integration. |
Hi everyone! Is there any new updates due to MyBatis can be used with GraalVM? I have compiled my Springboot3 (3.0.6) project with MyBatis latest version (3.5.13), but I am getting the below exception while running the generated .exe file:
Is there any extra configuration I need to do? |
known issue, will be looking into it as soon as possible. If anyone else knows how to fix, a PR would be great otherwise might be a while. |
…viderSqlSource The motivation for this change is to resolve issues that prevent GraalVM support. See mybatisgh-1552
I will propose to support the GraalVM (native-image). I've try to run the demo application using MyBatis 3.5.1 on GraalVM. But I cannot build a native-image using version 3.5.1. I've applied some temporary fix to MyBatis's core components and it worked on GraalVM.
Known mainly problem on core component
Problems on build-time
Configuration
(Not found good solution yet)SystemMetaObject#NULL_META_OBJECT
(Found solution -> passed the emptyMap
instead ofClass
)Problems on run-time
annotationType()
method instead ofgetClass()
) Add constructor that pass an Annotation type instead of Object on ProviderSqlSource #1611Related Issues and Links
The text was updated successfully, but these errors were encountered: