JDBC sample code