It seems that Eclipse was linking to older hibernate-core source when I looked up PostgreSQLDialect hierarchy (hence why it did not complain about the @Override on the old initializeFunctionRegistry) But as I wrote - your answer led me to find org.hibernate.boot.model.FunctionContributor interface, which can be used to register custom functions without relying on Dialect. |