here is the query
What's wrong in above query? (used jpa 1.0 Toplink provider)
Code:
int re = em.createQuery("delete object(o) from Vote as o where o.memberReply.id = '"+replyId+"'").executeUpdate();
Comment