MVN

com.github.wujiuye : easymulti-datasource-spring-boot-starter

Maven & Gradle

Feb 08, 2021
31 stars

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

<dependency>
    <groupId>com.github.wujiuye</groupId>
    <artifactId>easymulti-datasource-spring-boot-starter</artifactId>
    <version>2.1.1-RELEASE</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

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

  • Latest Stable: 2.1.1-RELEASE
  • Latest Beta: 2.1.0-BETA

All Versions

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

Version Vulnerabilities Updated
2.1.x
easymulti-datasource-spring-boot-starter-2.1.1-RELEASE
easymulti-datasource-spring-boot-starter-2.1.0-RELEASE
easymulti-datasource-spring-boot-starter-2.1.0-BETA
2.0.x
easymulti-datasource-spring-boot-starter-2.0.1-RELEASE
1.1.x
easymulti-datasource-spring-boot-starter-1.1.1-RELEASE
easymulti-datasource-spring-boot-starter-1.1.0-RELEASE
1.0.x
easymulti-datasource-spring-boot-starter-1.0.8-RELEASE
easymulti-datasource-spring-boot-starter-1.0.6-RELEASE
easymulti-datasource-spring-boot-starter-1.0.5-RELEASE
easymulti-datasource-spring-boot-starter-1.0.1-RELEASE
easymulti-datasource-spring-boot-starter-1.0.0-RELEASE
easymulti-datasource-spring-boot-starter-1.0.9x-RELEASE
easymulti-datasource-spring-boot-starter-1.0.7b-RELEASE

How to add a dependency to Maven

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

<dependency>
    <groupId>com.github.wujiuye</groupId>
    <artifactId>easymulti-datasource-spring-boot-starter</artifactId>
    <version>2.1.1-RELEASE</version>
</dependency>

How to add a dependency to Gradle

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

implementation 'com.github.wujiuye:easymulti-datasource-spring-boot-starter:2.1.1-RELEASE'

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

implementation("com.github.wujiuye:easymulti-datasource-spring-boot-starter:2.1.1-RELEASE")

How to add a dependency to SBT Scala

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

libraryDependencies += "com.github.wujiuye" % "easymulti-datasource-spring-boot-starter" % "2.1.1-RELEASE"