봄이오면
집에가고싶다
- Seoul, Korea
You May Also Enjoy
Swagger, api 숨기기
API중에 외부에 노출시키고 싶지 않은 API는 숨길수 있다. @Api(hidden = true)
MongoDB, 필드를 제거하는 방법
{ title: 'How to remove field in MongoDB' comment: [ id: 'a', name: 'A' ] }
Exception, com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field
아래와 같이 json파일을 읽어 Entity 클래스에 바인드시킬때 오류가 발생 ObjectMapper mapper = new ObjectMapper(); Entity entity = mapper.readValue(ResourceUtils.getFile("classpath:data/...
MongoDB, 원하는 필드만 조회하고 싶을때
SELECT o.name, o.age FROM user o WHERE o.id = 1 ORDER BY o.age ASC 위와같이 원하는 컬럼의 값만 조회하고 싶을때