What is the basic sequence of steps to do in JDBC (all the basic steps that involve interacting with database, e.g., making connection) if a computation involves doing an SQL query or update?
What will be an ideal response?
Import Java SQL API, load database driver, and get connection;
Create, prepare, execute SQL query stmt, and store result in result set;
Process result set (read and/or update);
Free SQL statement object, and close connection.
(Also, put JDBC code in try and catch of SQLException.)
You might also like to view...
If you want to include text such as "Page 6" in your header or footer, you should click the ____ button, then select the desired format.
A.
B.
C.
D.
In object-oriented terms, a new, modified class is called the ________ class
Fill in the blank(s) with correct word
Vim is a ____ editor meaning it can run in different operating modes.
A. multi-operational B. hierarchal C. modular D. virtual
If you want to research Access functions, a good place to start is the Help menu
Indicate whether the statement is true or false