Commit acc553e0 authored by toaster's avatar toaster
Browse files

bug fix in removing partner sites

git-svn-id: https://subversion.umiacs.umd.edu/ace/trunk@129 f1b3a171-7291-4a19-a512-95ad0ad9394a
parent c33e5bec
......@@ -91,7 +91,7 @@ public final class PartnerSiteServlet extends EntityManagerServlet {
EntityTransaction et = em.getTransaction();
et.begin();
Query q = em.createNamedQuery("PeerCollection.deleteByPeerSite");
q.setParameter("sire", partner);
q.setParameter("site", partner);
q.executeUpdate();
em.remove(partner);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment