We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5087a4 commit 116bf31Copy full SHA for 116bf31
src/main/java/com/example/dodi/Person.java
@@ -2,7 +2,6 @@
2
3
import org.springframework.beans.factory.annotation.Autowired;
4
import org.springframework.beans.factory.annotation.Configurable;
5
-import org.springframework.transaction.annotation.Transactional;
6
7
8
/**
@@ -15,8 +14,7 @@ public class Person {
15
14
private Integer age;
16
17
@Autowired
18
- @Trans
19
- private LoveRepository loveRepository;
+ private transient LoveRepository loveRepository;
20
21
public Person(String name, Integer age) {
22
this.name = name;
0 commit comments