diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/FunctionContributor.java b/hibernate-core/src/main/java/org/hibernate/boot/model/FunctionContributor.java index 7f9c79be94..3842f7ce3a 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/model/FunctionContributor.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/model/FunctionContributor.java @@ -47,6 +47,10 @@ public interface FunctionContributor { *
* The range 0-500 is reserved for Hibernate, range 500-1000 for libraries and * 1000-Integer.MAX_VALUE for user-defined FunctionContributors. + *
+ * Contributions from higher precedence contributors (higher numbers) effectively override + * contributions from lower precedence. E.g. if a contributor with precedence 1000 contributes a + * function named {@code "max"}, that will override Hibernate's standard function of that name. * * @return the ordinal for this FunctionContributor */