2 Replies Latest reply: Feb 2, 2013 12:09 PM by 988128 RSS

    JPA CriteriaQuery MD5

    988128
      Greetings,

      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,