JDBC task solution: first version