본문 바로가기

PROGRAMMING/스피드웨건

(4)
Lombok annotation @Data의 의미 롬복을 자주 사용하는데 어노테이션을 아무거나 갖다 쓰는 것 같아서 그 의미를 잘 살펴보기로 했다. @Getter @Setter나 Constructor 관련은 의미가 직관적이어서 괜찮았지만, 항상 쓰면서도 저거 머야 꼭 써야 되나 하는 애가 있었다. @Data 그래서 롬복 공식 문서를 구경하러 갔다. 그랬더니 @Data는 @ToString, @EqualsAndHashCode, @Getter/Setter와 @RequiredArgsConstructor를 한 번에 사용할 수 있는 숏컷 어노테이션입니다. 다시 말하면, @Data는 POJO와 관련이 있는 모든 재사용 코드를 생성합니다. 모든 필드에 대한 getter, final이 아닌 필드에 대한 setter, 그리고 클래스의 필드와 관련이 있는 적절한 toStr..
[Oracle] SQL Developer가 실행이 안 되는 이유를 찾아가는 이야기 PC 리셋하고 오라클 설치 후 SQL Developer가 백그라운드에서 가만히 있을 뿐 런치되지 않는 문제가 있었다. 뭐 나야 커맨드에서 실행하면 되지만... 커맨드 경험이 없는 자에게 그것은 걍 포기를 위한 1보 전진일뿐... 그래서 내 PC에서 오라클 삭제 후 재설치 및 SQL Developer no JRE 버전 압축 해제해서 다시 실행했는데 너무 잘 되네... 아... 아마 설치 순서(dll 파일 배치 등)가 뭔가 영향을 주는 것 같은데 다른 PC에서 재도전 해보겠다.
[ThymeLeaf] 특정 속성에 값 설정하기 흠 내가 찾는것과는 조금 괴리가 있으나 일단 붙여넣음 There are quite a lot of attributes like these, each of them targeting a specific HTML5 attribute: th:abbr th:accept th:accept-charset th:accesskey th:action th:align th:alt th:archive th:audio th:autocomplete th:axis th:background th:bgcolor th:border th:cellpadding th:cellspacing th:challenge th:charset th:cite th:class th:classid th:codebase th:codetype th:cols t..
[ThymeLeaf] 속성의 우선순위(Attribute Precedence) 순서 내용 속성 1 Fragment inclusion th:include th:replace 2 Fragment iteration th:each 3 Conditional evaluation th:if th:unless th:switch th:case 4 Local variable definition th:object th:with 5 General attribute modification th:attr th:attrprepend th:attrappend 6 Specific attribute modification th:value th:href th:src ... 7 Text(tag body modification) th:text th:utext 8 Fragment specification th:fragm..