how to call executeQuery method using jdbc program