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")
Features
- Transparently wraps Java DB (Apache Derby) SQLite, and PostgresSQL syntax, making the code easily portable between the two;
- Simple static and instance methods with intutive signatures that return SQL Strings;
- Provides Table and Column objects to pass as parameters to create, insert, select, selectId, last, first, etc .. methods enabling the convenient use of variables to refer to them throughout the code;
- Developer-friendly: developed as a component of STCAL and MemorizEasy;
- Test code provides usage examples, in addition to the open-source projects using it;
- Transparently adds to Java DB and PostgreSQL databases the SQLite convenient concept of an AUTOINCREMENT ROWID;
- Available with Maven;
License
Public DomainFollow SqlWrapper
Other Useful Business Software
Earn up to 15% annual interest with Nexo.
Put idle assets to work with competitive interest rates, borrow without selling, and trade with precision. All in one platform.
Geographic restrictions, eligibility, and terms apply.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of SqlWrapper!