Maven-based example using ActiveJDBC. Usage: Execute create.sql against your DB - this will create a table. Execute run.sh - this will build and execute this program from start to finish. Examine run.sh and its output