Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hfhbd/sqldelight-db2-dialect


https://github.com/hfhbd/sqldelight-db2-dialect

db2 kotlin-jvm sqldelight

Last synced: about 4 hours ago
JSON representation

Awesome Lists containing this project

README

        

# Module sqldelight-db2-dialect

A DB2 dialect for SqlDelight using JDBC.

- [Source code](https://github.com/hfhbd/sqldelight-db2-dialect)

## Install

This package is uploaded to MavenCentral and supports the JVM.

````kotlin
plugins {
kotlin("jvm") version "1.9.0"
id("app.cash.sqldelight") version "2.0.0"
}

repositories {
mavenCentral()
}

dependencies {
implementation("app.cash.sqldelight:jdbc-driver:2.0.0")
implementation("com.ibm.db2:jcc:11.5.7.0")
}

sqldelight {
databases.register("Db2Database") {
dialect("app.softwork:sqldelight-db2-dialect:LATEST")
}
}
````

## License

Apache 2