{"repo":"rainbowdashlabs/sadu","free":true,"listed":false,"github":"https://github.com/rainbowdashlabs/sadu","clone":"git clone https://github.com/rainbowdashlabs/sadu.git","description":"Sql and damn utilitites. Avoid SQL boilerplate while keeping control over everything you do.","language":"Java","stars":41,"topics":["java","mariadb","mysql","postgresql","sql","sqlite","utility-library","hacktoberfest","database"],"license":"LGPL-3.0","category":"databases-storage","readme_excerpt":"[ ][nexus releases] [ ][nexus snapshots] Javadocs SADU - Sql and damn utilitites This project contains serveral things I use for working with sql. The project 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, 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. Database dependencies SADU offers support for four different databases at the moment. To use them simply import: - sadu-postgresql - sadu-mariadb - sadu-mysql - sadu-sqlite Querybuilder SADU offers a query builder to manage resources, error handling, result set reading and dispatching of queries. to use it import: sadu-queries Learn how to use the query builder here But why should I use it? Before I give you a long talk about how much nicer the syntax and code is let me simple show you a comparison. Without the query builder your code would ideally look like this: But using the query builder your code becomes this: Beautiful isnt it? The query builder will enforce try with resources, set parameters in the order defined by you, read the result set and additionally handle the exceptions for you. How does it work? Datasource Builder SADU offsers a data source builder to create data sources for the databases listed above. to use it import: sadu-datasource Note that in order to use this, you need at least one ","default_branch":null,"files":null,"tree":[],"storefront":"/r/rainbowdashlabs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rainbowdashlabs/sadu/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}