일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 기출문제
- Tomcat
- INSERT
- checkbox
- 구멍가게코딩단
- github
- NoSQL
- 오라클
- jdbc
- 정보처리산업기사
- spring
- vue Carousel
- swipe 배너
- JAXBContext
- vue.js
- jsp
- bulkinsert
- 마스킹
- query
- insertAll
- java
- mybatis
- Ajax
- egov
- JSON
- vscode tutorial
- JQuery
- mysql
- 부스트코스
- MariaDB
- 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..