Registry / database / scalikejdbc-2-12

scalikejdbc-2-12

JSON →
library4.3.5javamavenunverified

Scala-friendly JDBC wrapper providing a typesafe SQL DSL and connection management.

<dependency> <groupId>org.scalikejdbc</groupId> <artifactId>scalikejdbc_2.12</artifactId> <version>4.3.5</version> </dependency>
INSTALL
IMPORT
SIG · SCALIKEJDBC-2-12
S
scalikejdbc-2-12
databasejavav4.3.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DB
scalikejdbc.DB

Execute a read-only query using ScalikeJDBC.

import scalikejdbc._ Class.forName("org.h2.Driver") ConnectionPool.singleton("jdbc:h2:mem:test", "user", "password") val result = DB.readOnly { implicit session => sql"SELECT 1".map(rs => rs.int(1)).single.apply() }
Debug
Known issues
breakingScalikeJDBC 4.x requires Scala 2.12/2.13; not compatible with Scala 3 without additional modules.
fix
Use scalikejdbc_3 for Scala 3 projects.
affects: >=4.0.0
Upgrade
Version history
4.3.5latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Meta
2
Resources
scalikejdbc-2-12 — mvn dependency:get scalikejdbc-2-12 · libregistry