JBoss.org Community Documentation
The function-mapping element model is show below.
The allowed child elements are:
function-name
: This required element gives the EJB-QL function name, e.g., concat, substring.
function-sql
: This required element gives the SQL for the function as appropriate for the underlying database. Examples for a concat function include: (?1 || ?2), concat(?1, ?2), (?1 + ?2).