Server 60

코틀린 스프링부트 참고 사이트들

전반적 https://minkukjo.github.io/study/docs/spring/jpa/kotlin-jpa-guide/ Kotlin JPA 개발 가이드 | 도전하는 개발자 JPA With Kotlin minkukjo.github.io 코틀린 스프링 부트에 QueryDsl 적용 https://dev-gorany.tistory.com/362 [Spring Boot] Kotlin Querydsl 적용 (with. Mono repo, Multi module) [Spring Boot] Mono Repo, Multi Module (with. Gradle Kotlin DSL) Intro 개인 프로젝트 정도의 규모라면 하나의 프로젝트 안에 api, web, admin 등이 모두 들어가있어도 커버가 되지만, 규모..

Server/Spring Boot 2022.08.16

SpringDataJPA QueryDSL 5.0.0 gradle setting / 그래들 세팅방법

시간이 없으신 분들을 위한 선 요약 세팅 (Use this setting) plugins { id 'org.springframework.boot' version '2.6.2' id 'io.spring.dependency-management' version '1.0.11.RELEASE' id 'java' } group = 'com.example' version = '0.0.1-SNAPSHOT' sourceCompatibility = '1.8' configurations { compileOnly { extendsFrom annotationProcessor } } repositories { mavenCentral() maven { url "https://plugins.gradle.org/m2/" } // 플러..

Server/Spring Boot 2022.04.22

스프링 부트 DI 하는 방법 3가지

1번 public class TestController { @Autowired private Repository repository; } ------------------------------- 2번 - lombok 라이브러리 @RequiredArgsConstructor public class TestController { private final Repository repository; } -------------------------------- 3번 - 컨트롤러 생성자에 DI할 것 넣기 public class TestController{ private final Repository repository; public class TestController(Repository repository){ th..

Server/Spring Boot 2020.11.19