[링크] 회전근개수술 후 재활운동
https://post.naver.com/viewer/postView.nhn?volumeNo=11481510&memberNo=34114530
https://post.naver.com/viewer/postView.nhn?volumeNo=11481510&memberNo=34114530
org.springframework.test.util.ReflectionTestUtils.setField(obj, “fieldName01”, fieldValue01);
List<String> newList = list.stream().map(StringUtil::trim).collect(Collectors.toList()); * 참고 링크 Java 스트림 Stream (1) 총정리
/* * 기본적인 루프 * – map.forEach() */ map.forEach((k, v) -> System.out.println("key: " + k + ", value: " + v)); map.forEach((k,v) -> { System.out.println("key: " + k + ", value: " + v) }); map.entrySet().forEach((e) -> System.out.println("key: " + e.getKey() + ", value: " + e.getValue())); map.keySet().forEach((k) -> System.out.println("key: " + k)); map.values().forEach((v) ->… Read More »
import java.util.List; import org.apache.ibatis.cache.CacheKey; import lombok.extern.slf4j.Slf4j; import net.sf.ehcache.Cache; import net.sf.ehcache.CacheManager; /** * MyBatis EHCache 관련 유틸 클래스 * * – mapperId + statementId 에 대하여 exactly equals 가 아니라 contains 임에 주의 * * @author STEVE */ @Slf4j public class MyBatisCacheUtil { /** * MyBatis 쿼리 캐시 제거 * * @param mapperId (e.g. “com.example.repository.UserRepository”) *… Read More »
* 구라 제거기 * 모두의 프린터
1. pom.xml <dependency> <groupId>org.mybatis.caches</groupId> <artifactId>mybatis-ehcache</artifactId> <version>1.2.1</version> </dependency> 2. MyBatis 각 mapper xml <?xml version=”1.0″ encoding=”UTF-8″?> <!DOCTYPE mapper PUBLIC “-//mybatis.org//DTD Mapper 3.0//EN” “http://mybatis.org/dtd/mybatis-3-mapper.dtd”> <mapper namespace=”com.tachyon.api.repository.NewsRepository”> <!– MyBatis ehcache 설정 – http://mybatis.org/ehcache-cache/ –> <cache type=”org.mybatis.caches.ehcache.EhcacheCache”> <!– <cache type=”org.mybatis.caches.ehcache.EhBlockingCache”> –><!– blocking cache를 사용할 경우 –> <property name=”timeToIdleSeconds” value=”3600″/><!–1 hour–> <property name=”timeToLiveSeconds” value=”3600″/><!–1 hour–> <property name=”maxEntriesLocalHeap” value=”1000″/> <property… Read More »
https://sanghaklee.tistory.com/47
https://yoshikixdrum.tistory.com/200
폴더 우클릭 > 속성 > 사용자 지정 > ‘다음에 대해 이 폴더 최적화 항목’을 ‘일반 항목’ 으로 변경한다.
1. pom.xml <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache</artifactId> <!– Spring 혹은 Terasoluna 에 최신버전이 내장되어 있어서 버전을 지정하지 않았었음. 아마 2.10.x 버전인듯 –> </dependency> 2. ehcache.xml <?xml version=”1.0″ encoding=”UTF-8″?> <ehcache xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”http://ehcache.org/ehcache.xsd” updateCheck=”false”> <!– * 속성 설명 (출처: https://javacan.tistory.com/entry/133) – maxElementsInMemory: 메모리에 저장될 수 있는 객체의 최대 개수 (필수) – eternal: 이 값이 true이면 timeout 관련 설정은… Read More »
https://news.naver.com/main/ranking/read.nhn?mid=etc&sid1=111&rankingType=popular_day&oid=028&aid=0002489916&date=20200319&type=1&rankingSeq=10&rankingSectionId=103
원래는 이클립스의 Run/Debug 내의 각 Test profile에서 VM arguments 에 셋팅을 한다고 생각했었으나, Spring Boot 의 경우에는 application.properties 의 설정이 우선하는 것을 알게 됨. * application.properties 샘플 logging.config=classpath:logback-custom.xml
https://kys544.tistory.com/316
http://blog.stevenlevithan.com/archives/date-time-format * 용례) ‘201910101458125’ => new Date().format(‘yyyymmddHHMMssl’);
https://stackoverflow.com/questions/276927/can-i-concatenate-multiple-mysql-rows-into-one-field
https://github.com/coreui/coreui-icons
https://www.extendoffice.com/documents/excel/4321-excel-activate-hyperlinks.html
* table 태그에 아래의 스타일 추가 table-layout:fixed * td 태그에 아래의 스타일 추가 word-wrap:break-word
https://brunch.co.kr/@imagineer/215