adding JDBC logic.