mybatis / mybatis/spring

how to filter @MapperScan

Open
#548 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
2.9k
Forks
2.6k
Avg merge
3d 4m
Merged PRs (30d)
8

Description

When using @mapperScan scanning under multiple data sources, one data source has only one package, and the other data source has a large number of packages, and the package structure is the same. I want to exclude certain packages, how to use the filter function

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue concerns @MapperScan with multiple data sources and package filtering, but names no files or tests. Start by locating the @MapperScan configuration and its filtering options; done would require a clear documented way to exclude the requested packages.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
backend, database
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.