i have this code:
String sqlString = "select * from Customer where CustomerID = ?";
PreparedStatement pstmt = con.prepareStatement(sqlString);
ResultSet rs = pstmt.executeQuery();
i want to check if the customer id cust001 exists in the database. how can i do it? what do i need to do with the result set?