목록JPA (6)
궤도
북적북적의 백엔드를 클론하고 있다. Github build.gradle plugins { id 'org.springframework.boot' version '2.5.2' id 'io.spring.dependency-management' version '1.0.11.RELEASE' id "com.ewerk.gradle.plugins.querydsl" version "1.0.10" id 'java' } group = 'jpa' version = '0.0.1-SNAPSHOT' sourceCompatibility = '11' configurations { compileOnly { extendsFrom annotationProcessor } all { exclude group: 'org.springframewo..
일단 문제의 엔티티를 보자 Book @Entity @Getter @NoArgsConstructor(access = AccessLevel.PROTECTED) public class Book { @Id @Column(name = "book_sn") @GeneratedValue private Long id; @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "user_sn") @NotNull private User user; @NotNull private String title; @Column(length = 300) private String thumbnail; private String author; private String publisher; @Lob pr..
북적북적의 백엔드를 클론하고 있다. Github build.gradle plugins { id 'org.springframework.boot' version '2.5.2' id 'io.spring.dependency-management' version '1.0.11.RELEASE' id 'java' } group = 'jpa' version = '0.0.1-SNAPSHOT' sourceCompatibility = '11' configurations { compileOnly { extendsFrom annotationProcessor } all { exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging' } } repo..
북적북적의 백엔드를 클론하고 있다. Github build.gradle plugins { id 'org.springframework.boot' version '2.5.2' id 'io.spring.dependency-management' version '1.0.11.RELEASE' id 'java' } group = 'jpa' version = '0.0.1-SNAPSHOT' sourceCompatibility = '11' configurations { compileOnly { extendsFrom annotationProcessor } all { exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging' } } repo..
북적북적의 백엔드를 클론하고 있다. Github build.gradle plugins { id 'org.springframework.boot' version '2.5.2' id 'io.spring.dependency-management' version '1.0.11.RELEASE' id 'java' } group = 'jpa' version = '0.0.1-SNAPSHOT' sourceCompatibility = '11' configurations { compileOnly { extendsFrom annotationProcessor } all { exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging' } } repo..
https://victorydntmd.tistory.com/321 [SpringBoot] Mysql 연동 개발환경 IntelliJ 2019.02 Java 11 SpringBoot 2.1.7 mysql-connector-java:8.0.17 Gradle 5.6 스프링부트 프로젝트를 생성할 때, 내장된 데이터베이스 h2가 아닌 MySQL을 사용하려고 했습니다. application.p.. victorydntmd.tistory.com 여기를 따라할 것이다. implementation 'org.springframework.boot:spring-boot-starter-data-jpa' runtimeOnly 'mysql:mysql-connector-java' 이거 2개 추가 spring: datasource: dr..