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 |
Tags
- 바이트 절삭
- try - with - resources
- Open Close Principal
- 상호 인증
- mTLS
- requestheaderdto
- Request Body 여러 번 사용
- 개방 폐쇄 원칙
- Unchecked Exception
- Socket is closed
- tomcat jndi
- Srping MVC
- Java Singleton
- HandlerMethodArgumentResolver
- WildFly
- Java Graphql
- Checked Exception
- Jndi DataSource
- Sub Bytes
- java
- 데이터 압축
- Tomcat DBCP
- Reading HttpServletRequest Multiple Times
- 이중정렬
- Java Rest
- graphql
- AfterMapping
- mapstruct
- Graphql Client
- NoUniqueBeanDefinitionException
Archives
- Today
- Total
Developer Sang Guy
[Spring Boot] DB 연결 본문
-- application.properties
-- Oracle
spring.datasource.driver-class-name=oracle.jdbc.OracleDriver
spring.datasource.url=jdbc:oracle:thin:@127.0.0.1:1521:xe (Oracle 설치 서버 IP + 포트 + DB 이름)
spring.datasource.username=ID
spring.datasource.password=PW
-- MySql
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver (MySql)
spring.datasource.url=mysql://localhost:3306/test_db (MySql 설치 서버 IP + 포트 + DB 이름)
spring.datasource.username=ID
spring.datasource.password=PW
'Spring' 카테고리의 다른 글
HttpServletRequest Body 여러 번 읽기 (0) | 2022.12.28 |
---|---|
[Spring] RequestMapping 기능 (produces, consumes ) (0) | 2022.10.07 |
[Spring] Aop, Logback 활용 (0) | 2022.04.28 |
스프링 WebMvcConfigurer (0) | 2021.08.08 |
Spring @Autowired를 사용한 스프링 빈 주입 (0) | 2021.05.31 |
Comments