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
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
Download latest build here
repositories {
mavenCentral()
maven { url "https://github.com/Bethibande/maven-repos/raw/main" }
}
dependencies {
implementation 'de.bethibande:jsql:1.4.1'
}
<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>
- JConnector 8.0.28