H2 썸네일형 리스트형 [스프링부트| 스프링부트와 JPA 활용 1 | 웹 애플리케이션 개발 | 프로젝트 환경설정] JPA와 DB설정, 동작확인 spring: # Spring 프레임워크 관련 전반적인 설정을 시작하는 키 datasource: # 데이터 소스 설정을 정의하는 섹션 url: jdbc:h2:tcp://localhost/~/jpashop # 데이터베이스 연결 URL, 여기서는 H2 데이터베이스를 지정 username: sa # 데이터베이스 접속을 위한 사용자 이름 password: # 데이터베이스 접속을 위한 비밀번호, 비워두면 비밀번호 없음 driver-class-name: org.h2.Driver # JDBC 드라이버 클래스 명 jpa: # JPA (Java Persistence API) 관련 설정 hibernate: # 하이버네이트 관련 설정 ddl-auto: create # 데이터베이스 스키.. 더보기 [스프링부트| 스프링부트와 JPA 활용 1 | 웹 애플리케이션 개발 | 프로젝트 환경설정] Veiw 환경 설정, H2 데이터베이스 안녕하세요. 손님" data-ke-type="html">HTML 삽입미리보기할 수 없는 소스thymeleaf 템플릿 엔진thymeleaf 공식 사이트: https://www.thymeleaf.org/스프링 공식 튜토리얼: https://spring.io/guides/gs/serving-web-content/스프링부트 메뉴얼: https://docs.spring.io/spring-boot/docs/2.1.6.RELEASE/reference/html/ boot-features-developing-web-applications.html#boot-features-spring-mvc-template-engines 스프링 부트 thymeleaf viewName 매핑resources:templates/` +{Vie.. 더보기 이전 1 다음