Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 스프링 핵심 원리
- http
- Thymeleaf
- Greedy
- kotlin
- transaction
- springdatajpa
- 자바
- 스프링 핵심 기능
- 백준
- 알고리즘
- Exception
- JPQL
- Servlet
- Spring Boot
- QueryDSL
- spring
- 스프링
- JDBC
- SpringBoot
- jpa
- 그리디
- AOP
- pointcut
- Android
- db
- java
- Proxy
- 김영한
- 인프런
Archives
- Today
- Total
목록스프링 부트와 jpa 활용 1 (1)
개발자되기 프로젝트
JPA, DB 설정 및 실행하기
1. application.yml, 설정하기 datasource 설정 datasource: url: jdbc:h2:tcp://localhost/~/jpashop username: sa driver-class-name: org.h2.Driver --> datasource의 url을 명확하게 h2 콘솔에서 접근하는 url과 동일하게 입력해주자. --> url이 달라서 H2와 연결이 되지 않아 ApplicationContext load fail 발생 jpa 설정 jpa: hibernate: ddl-auto: create Properties: hibernate: show_sql: true format_sql: true - ddl-auto : table 자동 생성 여부 - ddl-auto : create --> ..
인프런/[인프런] Springboot와 JPA활용 1
2021. 8. 5. 17:05