scala jdbc/magnum
-
Magnum 기본 사용scala jdbc/magnum 2024. 11. 7. 22:20
https://github.com/AugustNagro/magnum 을 사용해 본다. build.sbtlibraryDependencies += "com.augustnagro" %% "magnum" % "1.3.0"libraryDependencies += "com.zaxxer" % "HikariCP" % "5.0.1"libraryDependencies += "mysql" % "mysql-connector-java" % "8.0.33" 코드import com.augustnagro.magnum.*import com.mysql.cj.jdbc.MysqlDataSourceimport com.zaxxer.hikari.pool.HikariPoolimport com.zaxxer.hikari.{HikariConfig,..