Registry / database / scalikejdbc-2-11

scalikejdbc-2-11

JSON →
library3.4.2javamavenunverified

ScalikeJDBC is a SQL-based database access library for Scala.

<dependency> <groupId>org.scalikejdbc</groupId> <artifactId>scalikejdbc_2.11</artifactId> <version>3.4.2</version> </dependency>
INSTALL
IMPORT
SIG · SCALIKEJDBC-2-11
S
scalikejdbc-2-11
databasejavav3.4.2
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

Minimal example showing how to create a table using ScalikeJDBC.

import scalikejdbc._ object Example extends App { Class.forName("org.h2.Driver") ConnectionPool.singleton("jdbc:h2:mem:test", "user", "password") DB autoCommit { implicit session => SQL("create table users (id int, name varchar(255))").execute.apply() } println("Table created") }
Debug
Known issues
gotchaThis version is compiled for Scala 2.11, which is outdated.
fix
Use the version compiled for Scala 2.12 or 2.13 for better compatibility.
affects: >=3.0
Upgrade
Version history
3.4.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Meta
2
Resources