1. Load a JDBC driver; 2. Connect to a database; 3. Create a statement; 4. Execute the statement; 5. In the case of the SELECT statement, process the ResultSet
1. Connect to a database; 2. Load a JDBC driver; 3. Create a statement; 4. Execute the statement; 5. In the case of the SELECT statement, process the ResultSet
1. Create a statement; 2. Load a JDBC driver; 3. Connect to a database; 4. Execute the statement; 5. In the case of the SELECT statement, process the ResultSet
|