Now stored at https://github.com/gregorydgraham/DBvolution
Available from Maven Central: nz.co.gregs.dbvolution
Makes relational data easy and fast to use with semantic annotations and encapsulated datatypes.
Simple declaration of a DB table:
@DBTableName("mytable")
public class MyTable extends DBRow {
@DBColumn("numeric_code")
@DBForeignKey(Code.class)
private DBNumber numericCode = new DBNumber();
@DBColumn("uid_mytable")
@DBPrimaryKey
@DBAutoIncrement
private...
Abstracts developers from SQL syntax, with methods that return Strings to pass on to JDBC, thus allowing compile-time checking for, many, otherwise run-time bugs. e.g. stmt.executeQuery(SqlWrapper.selectId(ordersTable, customerColumn, "John Smith")
A utility that helps developers to access SQL databses and convert them to Objects. Each table in the database becomes a RecordStore Object and each Record becomes a Record Object. Multiple queries on same data generates no duplicates.
Another Java-database mapper (bean to table or to query), but you use SQL directly (no query language), no complex XML mapping, and automation of JDBC routines. It contains 3 functions: 1. readwrite mapping 2. query mapping 3. DDL generator