Skip to content

Commit 6ef82b0

Browse files
authored
Merge pull request #4 from codingapi/dev
change jdk 1.8
2 parents 6134ae9 + be7a2fa commit 6ef82b0

File tree

5 files changed

+6
-13
lines changed

5 files changed

+6
-13
lines changed

pom.xml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<lombok.version>1.18.42</lombok.version>
3535

3636
<!-- test dependencies properties-->
37-
<springboot.version>3.5.7</springboot.version>
37+
<springboot.version>2.7.18</springboot.version>
3838
</properties>
3939

4040
<dependencies>
@@ -58,13 +58,6 @@
5858
<scope>test</scope>
5959
</dependency>
6060

61-
<dependency>
62-
<groupId>org.postgresql</groupId>
63-
<artifactId>postgresql</artifactId>
64-
<version>42.7.3</version>
65-
<scope>test</scope>
66-
</dependency>
67-
6861
<dependency>
6962
<groupId>org.springframework.boot</groupId>
7063
<artifactId>spring-boot-starter-test</artifactId>

src/test/java/com/example/dbstream/entity/User1.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.example.dbstream.entity;
22

3-
import jakarta.persistence.*;
3+
import javax.persistence.*;
44
import lombok.Data;
55

66

src/test/java/com/example/dbstream/entity/User2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import lombok.Data;
44

5-
import jakarta.persistence.*;
5+
import javax.persistence.*;
66

77
@Data
88
@Entity

src/test/java/com/example/dbstream/tests/User1RepositoryTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
import com.example.dbstream.entity.User1;
66
import com.example.dbstream.listener.MySQLListener;
77
import com.example.dbstream.repository.User1Repository;
8-
import jakarta.persistence.EntityManager;
9-
import jakarta.transaction.Transactional;
8+
import javax.persistence.EntityManager;
9+
import javax.transaction.Transactional;
1010
import org.junit.jupiter.api.BeforeEach;
1111
import org.junit.jupiter.api.Test;
1212
import org.springframework.beans.factory.annotation.Autowired;

src/test/java/com/example/dbstream/tests/User2RepositoryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import com.example.dbstream.entity.User2;
66
import com.example.dbstream.listener.MySQLListener;
77
import com.example.dbstream.repository.User2Repository;
8-
import jakarta.transaction.Transactional;
8+
import javax.transaction.Transactional;
99
import org.junit.jupiter.api.Test;
1010
import org.springframework.beans.factory.annotation.Autowired;
1111
import org.springframework.boot.test.context.SpringBootTest;

0 commit comments

Comments
 (0)