sql-library-processing
sql-library-processing copied to clipboard
SQLibrary – a SQL database library for Processing incl. MySQL, SQLite and PostgreSQL
Create a class inspector that will generate SQL code that is needed to store class in a DB: ``` mydb.execute( mydb.tableFor( MyFunkyClass.class ) ); ```
For example: - http://www.hibernate.org/ - http://sourceforge.net/projects/crossdb/
Smarter queries: ``` db.query( String ) db.query( String, Object ... args ) { db.query( String.format( String, args ) ) } ``` or just use a [PreparedStatement](http://docs.oracle.com/javase/6/docs/api/java/sql/PreparedStatement.html PreparedStatement) which seems to...