Skip to content

Add MyBatis native metadata and improve native-image test support - #2086

Open
radovanradic wants to merge 19 commits into
7.2.xfrom
mybatis-native-tests
Open

radovanradic wants to merge 19 commits into
7.2.xfrom
mybatis-native-tests

Conversation

@radovanradic

@radovanradic radovanradic commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Added MyBatis tests in 7.1.0 did not have nativeTest task. Figured out when tried to run guides with micronaut platform 5.1.1 and it has duplicate MyBatis feature. When used MyBatis feature from the starter then it failed on native tests. This adds metadata and changes MyBatis java test to native. Created PR in shared metadata repo as well: oracle/graalvm-reachability-metadata#9477

@radovanradic radovanradic added relates-to: graal type: improvement A minor improvement to an existing feature labels Aug 21, 2026
@Target(ElementType.TYPE)
@Introduction
@Singleton
public @interface MyBatisMapperScan {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needed this since configuring by package was not working on graalvm native.

Comment thread src/main/docs/guide/mybatis/mybatis-customizers.adoc
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
1 New Critical Issues (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

relates-to: graal type: improvement A minor improvement to an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants