일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
- insertAll
- 기출문제
- INSERT
- vue.js
- java
- chatgpt플랜
- checkbox
- Tomcat
- 정보처리산업기사
- chatgpt무료vs유료
- egov
- mysql
- JQuery
- MariaDB
- github
- chatgpt유료차이
- query
- 부스트코스
- bulkinsert
- 오라클
- spring
- 마스킹
- jsp
- JSON
- gpt-4o기능
- mybatis
- 구멍가게코딩단
- NoSQL
- Ajax
- jdbc
- Today
- Total
목록
728x90
반응형
Framework/springboot (2)
개발새발
rMate 차트를 사용하면서 데이터를 불러올 때 객체에 null이거나 0인 필드명들이 노출이 되지 않아야 차트에서 데이터를 정확하게 나타낼 수 있다. 따라서, 불필요한 필드들의 null 값 리턴이나 의도적으로 미노출하고자 하는 class에 @JsonInclude 어노테이션을 사용한다. [@JsonInclude 미사용시 : 기본값] public static class test { private int num; private String name; private String adress; private int phoneNum; } { "num" : 1, "name" : "지나", "adress" : null, "phoneNum" : 0 } [옵션 종류] @JsonInclude(JsonInclude.Inclu..

1. 프로젝트의 pom.xml에 lombok dependency를 추가한다. 1 2 3 4 5 org.projectlombok lombok provided 2. maven repository에서 알맞는 버전의 lombok.jar를 다운받아서 본인이 원하는 경로에 저장. https://mvnrepository.com/artifact/org.projectlombok/lombok Maven Repository: org.projectlombok » lombok Spice up your java: Automatic Resource Management, automatic generation of getters, setters, equals, hashCode and toString, and more! VersionR..