Added JDBC queries