Toplink Exception, whats wrong?
Posted
by java_dude
on Stack Overflow
See other posts from Stack Overflow
or by java_dude
Published on 2010-03-02T13:32:44Z
Indexed on
2010/04/25
20:43 UTC
Read the original article
Hit count: 466
Hey,
I've got an excpetion when I generate this EJB SQL Statement.
Exception Description: Syntax error parsing the query [SELECT h FROM Busmodul h WHERE LOWER(h.modulNummer) LIKE :modulnummer AND h.einbauort.id = :einbauort_fk AND h.plattform.id = :plattform_fk ORDER BY TRIM(TRAILING '-' FROM CONCAT('0', h.modulNummer))], line 1, column 150: syntax error at [TRIM].
Internal Exception: line 1:150: expecting IDENT, found 'TRIM'
Whats the meaning of IDENT. Any Ideas what I am doing wrong?
Regards
© Stack Overflow or respective owner