Skip to content

Sonatype Nexus (Releases) Sonatype Nexus (Snapshots)

SADU - SQL and damn Utilities

Javadocs

This project contains serveral things that were found useful when working with sql.

SADU is divided in several subprojects which allow to only import what you need.

It is by far not a replacement for large Frameworks like Hibernate, JPA or others, but a solid ground to reduce boilerplate code when you work with plain SQL like I do most of the time.

Dependency

If you want to use all projects simply import the whole thing.

dependencies {   
    implementation("de.chojo.sadu", "sadu", "version")
}

Warning

Usage of this super module is discouraged and exists purely for testing and evaluation. It should not be used in an production environment

Database dependencies

SADU offers support for four different databases at the moment. Import the modules you need like this:

Note

Learn more about types at the types page

dependencies {   
    implementation("de.chojo.sadu", "sadu-postgresql", "version")
}
dependencies {   
    implementation("de.chojo.sadu", "sadu-mariadb", "version")
}
dependencies {   
    implementation("de.chojo.sadu", "sadu-mysql", "version")
}
dependencies {   
    implementation("de.chojo.sadu", "sadu-sqlite", "version")
}