java - JPA-ECLIPSELINK FUNCTION throwing error -


i executing below query:-

select function(lower,d.comp) peopledbvo d d.person = :persons; 

but getting error unexpected token [function] internal exception, tried func getting same error. here using function execute database function lower.

you can directly use lower function because it's part of jpa spec: http://www.objectdb.com/java/jpa/query/jpql/string

select lower(d.comp) peopledbvo d d.person = :persons; 

Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -