Add support for registering custom SQL functions when bootstrapping via JPA

Description

When bootstrapping via the Hibernate native mechanisms, we can easily supply a custom SQL function so that we can further use it in JPQL queries:

However, if we bootstrap via JPA, the EntityManagerFactoryBuilderImpl does not provide a way to pass SQL functions, other than having to extend the Hibernate Dialect.

Therefore, I think we should have a mechanism which is similar to TypeContributions but for SQL functions.

Activity

Vlad MihalceaMay 21, 2018 at 3:27 PM

Add a more generic approach to minding the gap between JPA and Hibernate native bootstrap.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created May 16, 2018 at 11:30 AM
Updated May 31, 2018 at 4:52 AM
Resolved May 31, 2018 at 4:52 AM