Skip to content

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

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

Add MyBatis native metadata and improve native-image test support#2086
radovanradic wants to merge 9 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.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
70.7% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

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.

1 participant