style: rename core to dynamic-datasource-spring
This commit is contained in:
parent
10039f535d
commit
58419101d2
@ -8,7 +8,7 @@
|
||||
<artifactId>dynamic-datasource-spring-boot-starter-parent</artifactId>
|
||||
<version>3.6.1</version>
|
||||
</parent>
|
||||
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
||||
<artifactId>dynamic-datasource-spring</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
@ -16,10 +16,13 @@
|
||||
package com.baomidou.dynamic.datasource.aop;
|
||||
|
||||
import com.baomidou.dynamic.datasource.annotation.DSTransactional;
|
||||
import com.baomidou.dynamic.datasource.tx.*;
|
||||
import com.baomidou.dynamic.datasource.tx.TransactionalExecutor;
|
||||
import com.baomidou.dynamic.datasource.tx.TransactionalInfo;
|
||||
import com.baomidou.dynamic.datasource.tx.TransactionalTemplate;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.aopalliance.intercept.MethodInterceptor;
|
||||
import org.aopalliance.intercept.MethodInvocation;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
/**
|
||||
@ -52,4 +55,4 @@ public class DynamicLocalTransactionInterceptor implements MethodInterceptor {
|
||||
return transactionalTemplate.execute(transactionalExecutor);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -16,6 +16,7 @@
|
||||
package com.baomidou.dynamic.datasource.tx;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import java.sql.*;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
@ -368,4 +369,4 @@ public class ConnectionProxy implements Connection {
|
||||
public void setSavepointCounter(int savepointCounter) {
|
||||
this.savepointCounter = savepointCounter;
|
||||
}
|
||||
}
|
||||
}
|
2
pom.xml
2
pom.xml
@ -11,7 +11,7 @@
|
||||
<inceptionYear>2018</inceptionYear>
|
||||
|
||||
<modules>
|
||||
<module>core</module>
|
||||
<module>dynamic-datasource-spring</module>
|
||||
<module>test</module>
|
||||
</modules>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
||||
<artifactId>dynamic-datasource-spring</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
Loading…
x
Reference in New Issue
Block a user