- The other type of get method uses a string parameter
for the column name
String productCode = result.getString("Product_Code");
- Use getInt to fetch an integer column value
int quantity = result.getInt("Quantity");
- Use getDouble to fetch an double column value
double unitPrice = result.getDouble("Price");