-
Notifications
You must be signed in to change notification settings - Fork 33
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 throws exceptions in native build #265
Comments
Hi @Tikani Is it possible to test with the lastest release |
Hi there!
|
OK, I see. And can you provide a simple reproducer project or test case ? It could be very helpful. |
https://github.com/VojtenkoRN/test |
Thanks and I will take a look. |
@zhfeng hope, a quick workaround exists (without rewriting of MyBatis low-level layers to bypass GraalVM limitations) |
I checked the reproducer and it looks like mybatis wants to create a new class for |
@zhfeng okay, i understood :( i've checked out similar projects (MyBatis + GraalVM), found this - https://github.com/mybatis/spring-native |
Hmm, it's interesting! I just curious that did you folks try to test with |
Hi!
We have a Quarkus project with versions:
Quarkus: 2.10.1.Final
quarkus-mybatis: 1.0.4
After building the project into native with GraalVM and launching the executable, the following exceptions are in a log:
MyDao mapper:
ClassA.updateStatistics() event handler:
Is there any workaround for this?
The text was updated successfully, but these errors were encountered: