Code example for ResultSet

Methods: getDouble, next

0
					query += " WHERE account_name LIKE '" + accountName + "'";
			 
			//System.out.println(query);		 
			Statement stmt  = conn.createStatement();
			rs = stmt.executeQuery(query);
			if (rs.next())
				rtnValue = rs.getDouble(1);
		} 
		catch (Exception e)
		{ 
			System.err.println("Error at 'getReconciledBalance':  " + e);
		 
		} 
		 
		return rtnValue;
	} 
	public Vector<Vector<String>> getNonReconciledData(String tableName, int columnSize)
	{ 
		Vector<Vector<String>> rtnValues;
		ResultSet rs    = null;
		try {