SQLibrary – a SQL database library for Processing incl. MySQL, SQLite and PostgreSQL
Java HTML CSS
Switch branches/tags
Nothing to show
Latest commit 27fa3c8 May 20, 2016 @fjenett Merge pull request #15 from benfry/master
Update for Processing 3
Permalink
Failed to load latest commit information.
examples Added MySQL localhost example Mar 12, 2015
lib tiny updates Jul 18, 2013
release tiny updates Jul 18, 2013
resources tiny updates Jul 18, 2013
src minor fixes for Processing 3 syntax May 19, 2016
.classpath Eclipse project files May 19, 2016
.gitignore tiny updates Jul 18, 2013
.project Eclipse project files May 19, 2016
build.xml starting 0.2.1 Apr 11, 2013
readme.md renamed readme Jul 18, 2013

readme.md


SQLibrary, a Processing library that wraps around JDBC drivers to let you access MySQL, SQLite and PostgreSQL databases


Latest release (same that is in Processing's library manager): https://raw.github.com/fjenett/sql-library-processing/latest/release/BezierSQLib.zip


It's not an ORM (and will not become one) but it has some handy features since v0.2.0 that makes it easier to load and save objects to a database.

setFromRow(object)
saveToDatabase(object)
insertUpdateIntoDatabase(table, columns, values)

See: https://raw.github.com/fjenett/sql-library-processing/master/src/de/bezier/data/sql/SQL.java


Parts of this library are available under their own licenses. These are redistributed as downloaded from the original sources:

MySQL Connector/J (JDBC driver) mysql-connector-java-3.1.8-bin.jar http://dev.mysql.com/downloads/connector/j/ http://dev.mysql.com/downloads/connector/j/3.1.html GPL, http://www.gnu.org/licenses/old-licenses/gpl-2.0.html

PostgreSQL JDBC driver postgresql-8.3-604.jdbc3.jar http://jdbc.postgresql.org/ http://jdbc.postgresql.org/download.html BSD, http://jdbc.postgresql.org/license.html

SQLite JDBC driver sqlite-jdbc-3.7.2.jar http://code.google.com/p/sqlite-jdbc/ Apache License 2.0, http://www.apache.org/licenses/LICENSE-2.0


https://github.com/fjenett/sql-library-processing