Calling custom functions in JPQL with the function() is missing in the documentation

Description

Starting from JPA 2.1 custom functions can be called like

Author a = em.createQuery("SELECT a FROM Author a WHERE a.id = function('calculate', 1, 2)", Author.class).getSingleResult();

But this fact is missing in the documentation:
https://docs.jboss.org/hibernate/orm/current/userguide/html_single/Hibernate_User_Guide.html#hql-non-standard-functions

Please add a chapter that describes this JPQL feature.

Environment

None

Status

Assignee

Vlad Mihalcea

Reporter

SimonS

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major
Configure