Skip to content
Permalink
Browse files
JUDDI-903 jpa typo
  • Loading branch information
spyhunter99 committed Dec 22, 2014
1 parent 5fb73fd commit c674214cb109f69b6eeef136da83cf9f3398bf06
Showing 1 changed file with 2 additions and 2 deletions.
@@ -254,11 +254,11 @@ public void deletePublisher(DeletePublisher body)
}
}
log.info("remove all persisted AuthTokens for publisher " + entityKey + ".");
Query q1 = em.createQuery("DELETE FROM AuthToken auth WHERE auth.authorizedName = ?");
Query q1 = em.createQuery("DELETE FROM AuthToken auth WHERE auth.authorizedName = ?1");
q1.setParameter(1, entityKey);
q1.executeUpdate();
log.info("remove all subscriptions for publisher " + entityKey + ".");
q1 = em.createQuery("DELETE FROM Subscription s WHERE s.authorizedName = ?");
q1 = em.createQuery("DELETE FROM Subscription s WHERE s.authorizedName = ?1");
q1.setParameter(1, entityKey);
q1.executeUpdate();

0 comments on commit c674214

Please sign in to comment.