Made executeQuery statements protected