/JSQL

A simple way to store java objects inside of mysql tables

Primary LanguageJavaApache License 2.0Apache-2.0

JSQL, a simple java mysql framework 1.4.1

This is just a very simple framework, that enables you to easily save and load your class instances from and to your mysql server Please note that I jsut started working on this project hence there isn't much here yet

By default JSQL can only save the following types, save custom types

  • short
  • byte
  • int
  • long
  • float
  • double
  • boolean
  • char
  • String
  • UUID
  • and any enum types

Examples

A simple example can be found here
An example showing how to save custom types is here
A caching example can be found here here
An example for using basic 'or' and 'and' queries is here
An example for saving and loading abstract classes is here

Import

Download latest build here

Gradle

repositories {
    mavenCentral()

    maven { url "https://github.com/Bethibande/maven-repos/raw/main" }
}

dependencies {
    implementation 'de.bethibande:jsql:1.4.1'
}

Maven

<repository>
    <id>de.bethibande</id>
    <url>https://github.com/Bethibande/maven-repos/raw/main</url>
</repository>

<dependency>
    <groupId>de.bethibande</groupId>
    <artifactId>jsql</artifactId>
    <version>1.4.1</version>
</dependency>

Dependencies

  • JConnector 8.0.28