public static int Salvarweb(Integer user, int status, String serial, String gmp) throws ClassNotFoundException, SQLException {
        Connection conPol = conMgr.getConnection("PD");
        int ret;
        if (conPol == null) {
            throw new SQLException("Numero Maximo de Conexoes Atingida!");
        }
        try {
            if (serial.length() > 6) {
                serial = serial.substring(serial.length() - 6);
            } else if (serial.length() < 6) {
                throw new SQLException("Serial Inválido.");
            }

            call = conPol.prepareCall("{ ? = call sp_registro_insert2(?,?,?,?,'')}");
            call.registerOutParameter(1, Types.INTEGER);
            call.setInt(2, user);
            call.setInt(3, status);
            call.setString(4, serial);
            call.setString(5, gmp);
            call.execute();
            ret = call.getInt(1);
            call.close();
        } finally {
            if (conPol != null) {
                conMgr.freeConnection("PD", conPol);
            }
        }
        return ret;
    }