I'm using PostgreSQL 12 and Hibernate 5.6.8 with a custom dialect like:
registerFunction("hstore_find",
new SQLFunctionTemplate(StandardBasicTypes.BOOLEAN, "(?1 -> ?2 = ?3)"));
When I try to migrate to Hibernate 6.0.0, registerFunction and SQLFunctionTemplate do not exist anymore.
How can I migrate this registerFunction to new method of Hibernate 6?