Fix JDBC-89 by allowing query to accept a bare query string