public int gerarCodigoAvVenda() throws SQLException {
		int count = 0;
		st.execute("SELECT * FROM av_venda");
		ResultSet rs = st.getResultSet();
		while (rs.next()) {
			count++;
		}
		st = myConnection.createStatement();
		st.execute("SELECT * FROM av_oficina");
		rs = st.getResultSet();
		while (rs.next()) {
			count++;
		}
		st = myConnection.createStatement();
		st.execute("SELECT * FROM av_atendimento");
		rs = st.getResultSet();
		while (rs.next()) {
			count++;
		}
		return count;
	}