MCPcopy Index your code
hub / github.com/easybest/spring-data-mybatis-samples

github.com/easybest/spring-data-mybatis-samples @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
98 symbols 202 edges 27 files 24 documented · 24%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README
<a href="https://github.com/easybest/spring-data-mybatis">
    <img src="https://raw.githubusercontent.com/easybest/spring-data-mybatis/main/logo.png"/>
</a>

<a href="https://github.com/easybest/spring-data-mybatis/actions/workflows/github-actions-ci.yml" title="Build">
    <img src="https://github.com/easybest/spring-data-mybatis/actions/workflows/github-actions-ci.yml/badge.svg"/>
</a>
<a href="https://maven-badges.herokuapp.com/maven-central/io.easybest/spring-data-mybatis" title="Maven Central">
    <img src="https://maven-badges.herokuapp.com/maven-central/io.easybest/spring-data-mybatis/badge.svg"/>
</a>
<a href="https://github.com/hatunet/spring-data-mybatis/blob/main/LICENSE" title="License: Apache 2.0">
    <img src="https://img.shields.io/badge/license-Apache_2.0-brightgreen.svg"/>
</a>
<a href="https://gitter.im/spring-data-mybatis" title="Gitter chat">
    <img src="https://badges.gitter.im/gitterHQ/gitter.png"/>
</a>

This is a demo project based on Spring Data MyBatis. According to this demo project, you can quickly learn the basic usage of Spring Data MyBatis.

How to Start

./mvnw spring-boot:run

Extension points exported contracts — how you extend this code

UserService (Interface)
. @author Jarvis Song [3 implementers]
src/main/java/com/example/demo/service/UserService.java
RoleService (Interface)
. @author Jarvis Song [3 implementers]
src/main/java/com/example/demo/service/RoleService.java
RoleAssembler (Interface)
. @author Jarvis Song
src/main/java/com/example/demo/assembler/RoleAssembler.java
UserAssembler (Interface)
. @author Jarvis Song
src/main/java/com/example/demo/assembler/UserAssembler.java
RoleRepository (Interface)
. @author Jarvis Song
src/main/java/com/example/demo/repository/RoleRepository.java

Core symbols most depended-on inside this repo

success
called by 11
src/main/java/com/example/demo/controller/Result.java
set
called by 6
src/main/java/com/example/demo/controller/Result.java
fromModifyCommand
called by 4
src/main/java/com/example/demo/assembler/RoleAssembler.java
getById
called by 4
src/main/java/com/example/demo/service/UserService.java
toDTO
called by 2
src/main/java/com/example/demo/assembler/RoleAssembler.java
fromQuery
called by 2
src/main/java/com/example/demo/assembler/RoleAssembler.java
fromCreateCommand
called by 2
src/main/java/com/example/demo/assembler/RoleAssembler.java
fail
called by 2
src/main/java/com/example/demo/controller/Result.java

Shape

Method 72
Class 20
Interface 6

Languages

Java100%

Modules by API surface

src/main/java/com/example/demo/controller/Result.java18 symbols
src/main/java/com/example/demo/service/impl/UserServiceImpl.java8 symbols
src/main/java/com/example/demo/service/impl/RoleServiceImpl.java8 symbols
src/main/java/com/example/demo/controller/UserController.java8 symbols
src/main/java/com/example/demo/controller/RoleController.java8 symbols
src/main/java/com/example/demo/service/UserService.java7 symbols
src/main/java/com/example/demo/service/RoleService.java7 symbols
src/main/java/com/example/demo/assembler/UserAssembler.java5 symbols
src/main/java/com/example/demo/assembler/RoleAssembler.java5 symbols
src/main/java/com/example/demo/ex/BusinessException.java4 symbols
src/test/java/com/example/demo/DemoApplicationTests.java2 symbols
src/main/java/com/example/demo/domain/User.java2 symbols

Datastores touched

(mysql)Database · 1 repos
demoDatabase · 1 repos

For agents

$ claude mcp add spring-data-mybatis-samples \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact