https://github.com/fjenett/sql-library-processing
SQLibrary – a SQL database library for Processing incl. MySQL, SQLite and PostgreSQL
https://github.com/fjenett/sql-library-processing
Last synced: about 1 year ago
JSON representation
SQLibrary – a SQL database library for Processing incl. MySQL, SQLite and PostgreSQL
- Host: GitHub
- URL: https://github.com/fjenett/sql-library-processing
- Owner: fjenett
- Created: 2010-03-30T17:00:09.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2023-03-18T07:48:23.000Z (about 3 years ago)
- Last Synced: 2025-03-26T19:06:16.897Z (about 1 year ago)
- Language: Java
- Homepage: http://fjenett.github.com/sql-library-processing/
- Size: 22.3 MB
- Stars: 39
- Watchers: 7
- Forks: 24
- Open Issues: 13
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-processing - BezierSQLib - by [Florian Jenett](http://www.bezier.de/) (Libraries / Contributions)
README
This library wraps around JDBC drivers to let you access MySQL, SQLite and PostgreSQL databases.
## Latest Release (0.3.2)
This fork has been modified slightly for Processing 3. It's now available in the Contribution Manager in the PDE, or you can install manually by unzipping this folder into your libraries folder:
https://github.com/fjenett/sql-library-processing/raw/latest/release/BezierSQLib.zip
## Features
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
## Database Drivers
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