This discussion is archived
2 Replies Latest reply: Feb 2, 2013 10:09 AM by 988128 RSS

JPA CriteriaQuery MD5

988128 Newbie
Currently Being Moderated

Could somebody help to translate similar native query text to CriteriaQueriy code?
select tmp from tbl  
(select * from db_emails where folder="spam") tmp
where tmp.digest=md5(concat("digest",slt))
Thanks in advance,


  • Correct Answers - 10 points
  • Helpful Answers - 5 points