Hi, Sorry for the delayed response. Can you call a toString() on the Criteria Query? It should print a string that would look "JPQL-like". I need to see whether the function name "TimeStampDiff" was available at that stage and getting garbled during target SQL generation or not.
----- Pinaki Poddar Chair, Apache OpenJPA Project -- View this message in context: http://openjpa.208410.n2.nabble.com/CriteriaBuilder-function-issue-with-MySQL-tp7581531p7581942.html Sent from the OpenJPA Users mailing list archive at Nabble.com.