JDBC River: first working version

Tested to work with PostgreSQL.