Tuesday, November 29, 2011

How can you create JDBC statements?

A Statement object is what sends your SQL statement to the DBMS. You simply create a Statement object and then execute it, supplying the appropriate execute method with the SQL statement you want to send. For a SELECT statement, the method to use is executeQuery.
Category:JDBC Interview Questions

No comments:

Post a Comment