JPA Criteria API support for Hibernate Spatial

Description

Currently, Hibernate Spatial functions can be called via Hibernate Criteria API (which is deprecated) or JPQL. To use them in the JPA Criteria API, they have to be manually mapped using CriteriaBuilder#function(String, Class, Expression...), which is tedious and error prone.

This is a feature request to add a wrapper to provide a convenient way to use Hibernate Spatial functions from the JPA Criteria API.

Environment

None

Assignee

Karel Maesen

Reporter

Daniel Shuy

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Priority

Major
Configure