Life Developer
인생 개발자
[JPA실전]lombok 다운

 

 

테스트

 

 

@Getter
@Setter
public class Hello {
private String data;
}

 

 

 

@SpringBootApplication
public class JpashopApplication {

public static void main(String[] args) {
SpringApplication.run(JpashopApplication.class, args);

Hello hello = new Hello();
hello.setData("123");
String data = hello.getData()
;
}

}

'Developer' 카테고리의 다른 글

[JPA실전]Spring-boot에서 EntityManager 정의  (0) 2020.09.28
[JPA실전]devtools dependency  (0) 2020.09.28
[JPA실전]시작  (0) 2020.09.28
[JPA]벌크연산  (0) 2020.09.23
[JPA]JPQL-Named쿼리  (0) 2020.09.22
  Comments,     Trackbacks