PreparedStatement.executeQuery


PreparedStatement.executeQuery

executeQuery ResultSet executeQuery() throws SQLException Executes the SQL query in this PreparedStatement object and returns the ResultSet object generated by the query. Returns: a ResultSet object that contains the data produced by the query; never null Throws: SQLException - if a database access error occurs; this method is called on a closed PreparedStatement or the SQL statement does not return a ResultSet object SQLTimeoutException - when the driver has determined that the timeout value th...



원문링크 : PreparedStatement.executeQuery