Skip to content

Commit

Permalink
refactor: 단위 조회 수정 및 hikari pool 로그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
beanteacher committed Jan 6, 2025
1 parent 97973b9 commit ca4a039
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/gradle-back.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ jobs:
username: \${RDS_USERNAME}
password: \${RDS_PASSWORD}
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
hikari:
idle-timeout: 300000
max-lifetime: 1800000
pool-name: HikariPool-1
jpa:
show-sql: true
hibernate:
Expand Down Expand Up @@ -94,7 +98,7 @@ jobs:
level:
root: info
org.springframework.web: info
com.zaxxer.hikari: info
com.zaxxer.hikari: debug
log4jdbc.log4j2: error
jdbc.sqlonly: info
jdbc.resultsettable: info
Expand Down Expand Up @@ -231,6 +235,10 @@ jobs:
username: \${RDS_USERNAME}
password: \${RDS_PASSWORD}
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
hikari:
idle-timeout: 300000
max-lifetime: 1800000
pool-name: HikariPool-1
jpa:
show-sql: true
hibernate:
Expand Down Expand Up @@ -262,7 +270,7 @@ jobs:
level:
root: info
org.springframework.web: info
com.zaxxer.hikari: info
com.zaxxer.hikari: debug
log4jdbc.log4j2: error
jdbc.sqlonly: info
jdbc.resultsettable: info
Expand Down
7 changes: 6 additions & 1 deletion SCM/backend/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ spring:
username: ${MARIADB_USER}
password: ${MARIADB_PASSWORD}
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
hikari:
idle-timeout: 300000
max-lifetime: 1800000
pool-name: HikariPool-1

jpa:
show-sql: true
hibernate:
Expand Down Expand Up @@ -55,7 +60,7 @@ logging:
level:
root: info
org.springframework.web: info
com.zaxxer.hikari: info
com.zaxxer.hikari: debug
log4jdbc.log4j2: error
jdbc.sqlonly: info
jdbc.resultsettable: info
Expand Down
2 changes: 1 addition & 1 deletion SCM/backend/src/main/resources/mappers/item/ItemMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
item_price AS itemPrice,
item_reg_date AS itemRegDate,
item_mod_date AS itemModDate,
item_unit_title as itemUnit
item_unit_title
FROM tb_item i
JOIN tb_item_unit iu
ON i.item_unit_seq = iu.item_unit_seq
Expand Down

0 comments on commit ca4a039

Please sign in to comment.