MVN

com.github.wujiuye : easymulti-datasource-mybatis

Maven & Gradle

Jun 01, 2021
31 stars

easymulti-datasource-mybatis · 只需要简单的在yml中配置数据源,就可以使用动态多数据源,然后在项目中使用注解切换数据源。并且整合mybatis-plus,不再需要繁琐的配置。

<dependency>
    <groupId>com.github.wujiuye</groupId>
    <artifactId>easymulti-datasource-mybatis</artifactId>
    <version>3.0.2-RELEASE</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.github.wujiuye : easymulti-datasource-mybatis to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 3.0.2-RELEASE

All Versions

Choose a version of com.github.wujiuye : easymulti-datasource-mybatis to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
3.0.x
easymulti-datasource-mybatis-3.0.2-RELEASE
easymulti-datasource-mybatis-3.0.1-RELEASE

How to add a dependency to Maven

Add the following com.github.wujiuye : easymulti-datasource-mybatis maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.github.wujiuye</groupId>
    <artifactId>easymulti-datasource-mybatis</artifactId>
    <version>3.0.2-RELEASE</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.github.wujiuye : easymulti-datasource-mybatis gradle dependency to your build.gradle file:

implementation 'com.github.wujiuye:easymulti-datasource-mybatis:3.0.2-RELEASE'

Gradle Kotlin DSL: Add the following com.github.wujiuye : easymulti-datasource-mybatis gradle kotlin dependency to your build.gradle.kts file:

implementation("com.github.wujiuye:easymulti-datasource-mybatis:3.0.2-RELEASE")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.github.wujiuye : easymulti-datasource-mybatis sbt scala dependency to your build.sbt file:

libraryDependencies += "com.github.wujiuye" % "easymulti-datasource-mybatis" % "3.0.2-RELEASE"

Advertisement