Java & MySQL – Updating a ResultSet The ResultSet interface contains a collection of update methods for updating the data of a result set. As with the get methods, there are two update methods for each data type − One that takes in a column name. One that takes in a column index. For example, […]
Category Archives: java Mysql
Java & MySQL – Select Records Example This chapter provides an example on how to select/ fetch records from a table using JDBC application. Before executing the following example, make sure you have the following in place − To execute the following example you can replace the username and password with your actual user name […]
Java & MySQL – Viewing a ResultSet The ResultSet interface contains dozens of methods for getting the data of the current row. There is a get method for each of the possible data types, and each get method has two versions − One that takes in a column name. One that takes in a column […]