79200985

Date: 2024-11-18 18:19:48
Score: 2
Natty:
Report link

Could you give us your FunctionContributor.contributeFunctions method implementation ? I had the same pb when i migrate from spring boot 3.1 to 3.2. My custom functions implementation, i wanted to register were incorrects.

before :

public class JsonBPathMatchCustomFunction extends StandardSQLFunction {
@Override
public void render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, SqlAstTranslator<?> translator) {}}

After :

public class JsonBPathMatchCustomFunction extends StandardSQLFunction {
@Override
public void render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, ReturnableType<?> returnType, SqlAstTranslator<?> translator) {}}

The "before" override render method is deprecated forRemoval=true, in hibernate-core 6.4.10 version.

If you are in the same situation, i have to choose the "after" override render method.

In my situation, it solved my pb.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • RegEx Blacklisted phrase (2.5): Could you give us your
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Gilles Sabardu