BackEnd : Spring/SpringBoot (18) 썸네일형 리스트형 Spring Boot Server & Android Client App - Chapter #2 employee database 만들기 1. model 만들기 springserver 안에 model 패키지 만들기, model 패키지 안에 employee 패키지 java class - employee 만들기 Employee.java package com.genuinecoder.springserver.model.employee; import jakarta.persistence.Entity; import jakarta.persistence.GeneratedValue; import jakarta.persistence.GenerationType; import jakarta.persistence.Id; @Entity public class Employee { @Id //id가 pk가 됨 @GeneratedVa.. Spring Boot Server & Android Client App - Chapter #1 Chapter #1 : Introduction and project setup https://www.youtube.com/watch?v=ev3-y9G8N70&list=PLhs1urmduZ2_jNSEfOMTDojkvxMjgWzmd&index=2 Spring Initializr로 프로젝트 세팅 mysql workbench 필요 application.properties spring.datasource.url=jdbc:mysql://localhost:3306/SpringServerDB?createDatabaseIfNotExist=true spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect spring.datasource.user.. 이전 1 2 3 다음