Commit 0c0e5e3a authored by cherrylzhao's avatar cherrylzhao
Browse files

add dependency for encrypt.

parent ba8f8472
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -20,7 +20,6 @@ package org.apache.shardingsphere.example.common.mybatis.service;
import org.apache.shardingsphere.example.common.entity.User;
import org.apache.shardingsphere.example.common.repository.UserRepository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.ArrayList;
@@ -44,7 +43,6 @@ public class SpringUserServiceImpl implements UserService {
    }
    
    @Override
    @Transactional
    public void processSuccess() {
        System.out.println("-------------- Process Success Begin ---------------");
        List<Long> userIds = insertData();
+12 −0
Original line number Diff line number Diff line
@@ -26,4 +26,16 @@
        <version>4.0.0-RC1-SNAPSHOT</version>
    </parent>
    <artifactId>encrypt-raw-jdbc-example</artifactId>
    
    <dependencies>
        <dependency>
            <groupId>org.apache.shardingsphere.example</groupId>
            <artifactId>repository-jdbc</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.shardingsphere</groupId>
            <artifactId>sharding-jdbc-core</artifactId>
        </dependency>
    </dependencies>
</project>
+8 −0
Original line number Diff line number Diff line
@@ -26,4 +26,12 @@
        <version>4.0.0-RC1-SNAPSHOT</version>
    </parent>
    <artifactId>encrypt-spring-boot-example</artifactId>
    
    <dependencies>
        <dependency>
            <groupId>org.apache.shardingsphere.example</groupId>
            <artifactId>repository-jpa</artifactId>
            <version>${project.version}</version>
        </dependency>
    </dependencies>
</project>
+26 −0
Original line number Diff line number Diff line
@@ -26,4 +26,30 @@
        <version>4.0.0-RC1-SNAPSHOT</version>
    </parent>
    <artifactId>encrypt-spring-namespace-example</artifactId>
    
    <dependencies>
        <dependency>
            <groupId>org.apache.shardingsphere.example</groupId>
            <artifactId>repository-mybatis</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.shardingsphere</groupId>
            <artifactId>sharding-jdbc-spring-namespace</artifactId>
        </dependency>
    
        <dependency>
            <groupId>org.mybatis</groupId>
            <artifactId>mybatis</artifactId>
        </dependency>
        <dependency>
            <groupId>org.mybatis</groupId>
            <artifactId>mybatis-spring</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-jdbc</artifactId>
        </dependency>
    </dependencies>
    
</project>