๋น์ 1์ผ ๋ฐ ๋ง์ผ ๊ตฌํ๊ธฐ 1์ผ : firstDayOfMonth() ๋ง์ผ : lastDayOfMonth() 00:00:00 ๋ฐ 23:59:59๋ LocalTime.MIN ๋ฐ LocalTime.MAX ๋ฅผ ์ด์ฉํ๋ค import static java.time.temporal.TemporalAdjusters.* LocalDateTime today = LocalDateTime.now(); LocalDateTime starttime = today.with(firstDayOfMonth()).with(LocalTime.MIN); // ๋น์ 1์ผ 00:00:00 LocalDateTime endtime = today.with(lastDayOfMonth()).with(LocalTime.MAX); // ๋น์ ๋ง์ง๋ง๋ 23:5..
์ ์ฒด ๊ธ
Spring REST Docs ๊ฐํ ๋ฐ๋ก ๊ฐํ ๋ฌธ์๋ฅผ ์
๋ ฅํ๋ฉด ์๋๊ณ , ๋ฌธ์์ด์์ + ๋ช
์ ํ \n ์
๋ ฅ // ๊ฐํ์ ๋ฌธ์์ด์ ํ์นธ(์คํ์ด์ค) ๋๊ณ + ์
๋ ฅ // ๊ทธ๋ฆฌ๊ณ ๊ฐํ ๋ฌธ์๋ฅผ ๋ฐ๋ก "\n" parameterWithName("name").description("This is the description +" + "\n" + "in the table."), // ์๋๋ ๋ฒ์ parameterWithName("name").description("This is the description \n in the table."), ๐ Reference ๋๋ณด๊ธฐ https://stackoverflow.com/questions/66405730/when-using-spring-rest-docs-how-do-i-make..
MyBatis parameterType, resultType์ Static Inner Class ์ฌ์ฉ OuterClass$InnerClass๋ก ์ ๊ทผ $๋ ๋ณ์๋ฅผ ์๋ฏธํ๋ ๊ฒ ์๋๋ผ, Java์ ํน์ฑ๋๋ฌธ์
๋๋ค. Java์์ ํ๋ก๊ทธ๋๋ฐํ ๋์๋ Class์์์ InnerClass์ ์ ๊ทผํ ๋, ๋ชจ๋ ๊ตฌ๋์ ์ ์ฌ์ฉํ์ง๋ง, ํน์ ํด๋์ค๋ฅผ ์ฝ์ด์์ผ ํ๋ ํด๋์ค๋ก๋์์๋ Package namespace๋ ๊ตฌ๋์ (.)์ผ๋ก ๊ตฌ๋ถํ๊ณ , ํด๋์ค์ InnerClass์ namespace๋ $๋ก ๊ตฌ๋ถํฉ๋๋ค. ํ๋์(Daeyoung Heo) 2016.4.22 00:42 ๐ Reference ๋๋ณด๊ธฐ https://hashcode.co.kr/questions/1753/mybatis%EC%97%90%EC%84%9C-inner-cla..
IntelliJ Maven ๊ฐ์ ์
๋ฐ์ดํธ Preferences > Build Tools > Maven > Always update snapshots ์ฒดํฌ ๐ Reference ๋๋ณด๊ธฐ https://serisepomme.tistory.com/entry/Spring-%EB%A9%94%EC%9D%B4%EB%B8%90-%EC%8A%A4%ED%94%84%EB%A7%81-%EA%B0%95%EC%A0%9C-%EC%97%85%EB%8D%B0%EC%9D%B4%ED%8A%B8 https://stackoverflow.com/questions/9980869/force-intellij-idea-to-reread-all-maven-dependencies
Intellij ๋จ์ถํค ๋ฌธ์์ด ๊ฒ์ command + shift + f ํ์ผ ๊ฒ์ shift + shift Diff ํ์ผ ๋๊ฐ ์ ํ ํ command + d ๋ค์ค ์ปค์ option + shift ์ ํ ์ดํธ์ง command + shift + 8 or option ๋๋ฒ ํด๋ฆญ ์นด๋ฉ์ผ์ด์ค(ํ๋ฌ๊ทธ์ธ ์ค์น) shift + option + u Outline command + 7 rename f6 + shift