fix
git-svn-id: svn://svn.dsv.su.se/scipro/scipro/trunk@263 73ecded7-942e-4092-bab0-0e58ef0ee984
This commit is contained in:
parent
c323b73637
commit
0485d89b4b
@ -35,7 +35,7 @@ public class CommentThreadDaoJPAImp extends AbstractDaoJPAImp<CommentThread>
|
||||
throws PersistenceException {
|
||||
String q = "select t " +
|
||||
"from CommentThread t " +
|
||||
"where t.className = className and t.classId = t.classId ";
|
||||
"where t.className = :className and t.classId = :classId ";
|
||||
|
||||
|
||||
TypedQuery<CommentThread> query = em.createQuery(q, CommentThread.class);
|
||||
|
Loading…
x
Reference in New Issue
Block a user