A universal jdbc wrapper, helps you to make queries easier, with the simplicity of the functional interfaces of java!
Using jitpack:
Maven
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<!--just for sql wrapper (only compile sql not mysql, as in the previous version) (heavy)-->
<dependency>
<groupId>com.github.zkingboos.universalwrapper</groupId>
<artifactId>sql-wrapper</artifactId>
<version>VERSION</version>
</dependency>
<!--just for sql wrapper (only compile sql not mysql, as in the previous version) (light)-->
<dependency>
<groupId>com.github.zkingboos.universalwrapper</groupId>
<artifactId>sql-wrapper-bukkit</artifactId>
<version>VERSION</version>
</dependency>
<!--just mysql wrapper (heavy)-->
<dependency>
<groupId>com.github.zkingboos.universalwrapper</groupId>
<artifactId>mysql-wrapper</artifactId>
<version>VERSION</version>
</dependency>
<!--just mysql wrapper (light)-->
<dependency>
<groupId>com.github.zkingboos.universalwrapper</groupId>
<artifactId>mysql-wrapper-bukkit</artifactId>
<version>VERSION</version>
</dependency>
</dependencies>
Gradle
repositories {
maven { url = 'https://jitpack.io' }
}
dependencies {
// Just sql-wrapper (Heavy)
implementation 'com.github.zkingboos.universalwrapper:sql-wrapper:VERSION'
// Just sql-wrapper (Light)
implementation 'com.github.zkingboos.universalwrapper:sql-wrapper-bukkit:VERSION'
// Just mysql-wrapper (Heavy)
implementation 'com.github.zkingboos.universalwrapper:mysql-wrapper:VERSION'
// Just mysql-wrapper (Light)
implementation 'com.github.zkingboos.universalwrapper:mysql-wrapper-bukkit:VERSION'
}
Name | Description |
---|---|
shared | All shared sources for linking the components |
sql-wrapper | Sql provider compiled with all dependencies |
sql-wrapper-bukkit | Sql provider for bukkit applications, only includes the necessary dependencies |
mysql-wrapper | Mysql provider compiled with all dependencies |
mysql-wrapper-bukkit | Mysql provider for bukkit applications, only includes the necessary dependencies |
docs | The project documentation for github-pages |
examples | Examples for the most abstract cases |
You can see project's documentation here.
Look here for detailed examples!
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
zkingboos |