[MariaDB] 스프링(Spring)에 MariaDB 연동하기 [Mybatis와 HikariCP로 MariaDB 연동]
·
▣ SQL : Database/MariaDB🦦
1. 스프링(Spring)에 MariaDB 연동하기 - pom.xml org.mybatis mybatis 3.5.7 org.mybatis mybatis-spring 2.0.6 org.springframework spring-jdbc ${org.springframework-version} org.mariadb.jdbc mariadb-java-client 2.2.1 com.zaxxer HikariCP 4.0.3 org.apache.logging.log4j log4j-core 2.17.1 org.bgee.log4jdbc-log4j2 log4jdbc-log4j2-jdbc4.1 1.16 - root-context.xml - log4jdbc.log4j2.properties log4jdbc.drivers=org.ma..
[Library] 히카리 커넥션 풀(Connection pool) 사용하기 [Connection pool 라이브러리, HikariCP]
·
▣ Tools/Library🎲
1. Connection pool 라이브러리, HikariCP - HikariCP - 다운로드 : https://mvnrepository.com/artifact/com.zaxxer/HikariCP/4.0.3 - SLF4J API - 다운로드 : https://mvnrepository.com/artifact/org.slf4j/slf4j-api/1.7.36 2. HikariCP 사용방법 - DBConn.java package utils; import java.sql.CallableStatement; import java.sql.Connection; import java.sql.SQLException; import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hik..