Spring
Spring Boot | MyBatis 설정 | Service와 Dao 준비 | MySQL 데이터베이스 연결 | Dao의 구현체 구현 | 스프링의 객체 사용방법
MyBatis 설정 MyBatis 가 담당하는 역할 Mybatis 라이브러리 다운로드 Service와 Dao 준비하기 NoticeServise 개체 가져오기 list는 list기능 detail은 id값 NoticeController.java package com.newlecture.web.controller.admin; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotatio..
2021. 3. 18. 22:16