Project

General

Profile

« Previous | Next » 

Revision 50661

View differences:

AffiliationsDao.java
103 103
		jdbcTemplate.update("INSERT into affiliations(pid, gid, year) VALUES (?, ?, ?)", pid, gid, year);
104 104
	}
105 105

  
106
	public void updateUnknownAffiliation(final String pid, final String gid, final int year) {
107
		jdbcTemplate.update("UPDATE affiliations SET gid=? WHERE gid='UNKNOWN' AND pid=? AND year=?", gid, pid, year);
108
	}
109

  
106 110
	public JdbcTemplate getJdbcTemplate() {
107 111
		return jdbcTemplate;
108 112
	}

Also available in: Unified diff