일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- hikaricp
- Spring Boot
- 라즈베리파이
- Spring
- log4j profile
- oracle between
- git
- catalina log
- Java
- Gradle
- github
- ORACLE CLOUD
- between date
- intellij
- MySQL
- ubuntu
- log4j2
- 배열스트링
- python 개발환경
- template
- hikari
- bitbucket
- between 날짜
- Spring Security
- mybatis
- Linux
- oracle
- springboot
- STS
- datasource
- Today
- Total
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- hikaricp
- Spring Boot
- 라즈베리파이
- Spring
- log4j profile
- oracle between
- git
- catalina log
- Java
- Gradle
- github
- ORACLE CLOUD
- between date
- intellij
- MySQL
- ubuntu
- log4j2
- 배열스트링
- python 개발환경
- template
- hikari
- bitbucket
- between 날짜
- Spring Security
- mybatis
- Linux
- oracle
- springboot
- STS
- datasource
- Today
- Total
목록mybatis (4)
파워노트
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/cKwOWL/btrqNeknVq7/LQKAH0oH7PmSbyThGIUuiK/img.png)
역시 레퍼런스는 원조를 참고 하자. mybatis 로그 찍기가 잘 되지 않는다... 뭔가 이상하다.. 이전에 로그를 위한 라이브러리 설정을 통해 진행시 뭔가 에러가 자꾸 발생한다. 2022.01.07 - [spring boot] - mybatis query log 찍기 mybatis query log 찍기 mybatis 등을 이용하여 query 실행시 실행 쿼리 로그가 나오도록. build.gradle 의존성 추가 implementation 'org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4:1.16' datasource 설정 변경 application.yml datas.. powernote.tistory.com https://mybatis.org/mybatis-3/lo..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/ep7eZS/btrp3U2PL1Y/R8eHQGviYz8uW8rqQqBu7k/img.png)
mybatis 등을 이용하여 query 실행시 실행 쿼리 로그가 나오도록. build.gradle 의존성 추가 implementation 'org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4:1.16' datasource 설정 변경 application.yml datasource 설정 부분 변경 필요 url: jdbc:oracle:thin:/xxxx/. => url: jdbc:log4jdbc:oracle:thin:/xxxx/ driver-class-name: oracle.jdbc.OracleDriver => driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy spring: datasource: url: jdbc:log4jd..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/w1NKy/btrlfdZJtym/TAgt8Kmky6997Gs2xI9L60/img.png)
mybatis 설정을 해보자 * datasource 를 설정을 해보았다. 이제는 springboot 에서 쿼리를 쉽게 사용하기 위해 매핑 및 설정을 해주자. 2021.08.10 - [spring boot] - [ skeleton ] springboot 프로젝트 - hikariCP 설정 [ skeleton ] springboot 프로젝트 - hikariCP 설정 [ skeleton ] springboot 프로젝트 - mysql 연동 mysql 연동하는 프로젝트 설정. 데이터 처리 적용. hikari 설정. 자주 마주치는 오류 spring-boot-starter-data-jdbc, spring-boot-starter-data-jpa 와 같은 의.. powernote.tistory.com 2021.11.15 ..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/cYR8JN/btrbP95RWir/owXJ1B5auI552kRK0s7np1/img.png)
[ skeleton ] springboot 프로젝트 - mysql 연동 mysql 연동하는 프로젝트 설정. 데이터 처리 적용. hikari 설정. 자주 마주치는 오류 spring-boot-starter-data-jdbc, spring-boot-starter-data-jpa 와 같은 의존성을 추가하고 springboot 를 실행하면. 아래와 같은 경고가 나타난다. *************************** APPLICATION FAILED TO START *************************** Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource cou..