Adjust the deprecation pattern for filtering.
With 2025.04 the message regarding deprecated `id` has changed and will now not be matched by the previous pattern anymore. This change adjusts the pattern to match old and new style. Signed-off-by: Gerrit Meier <meistermeier@gmail.com>
This commit is contained in:
@@ -50,7 +50,7 @@ final class ResultSummaries {
|
||||
private static final LogAccessor cypherSecurityNotificationLog = new LogAccessor(LogFactory.getLog("org.springframework.data.neo4j.cypher.security"));
|
||||
private static final LogAccessor cypherTopologyNotificationLog = new LogAccessor(LogFactory.getLog("org.springframework.data.neo4j.cypher.topology"));
|
||||
|
||||
private static final Pattern DEPRECATED_ID_PATTERN = Pattern.compile("(?im)The query used a deprecated function: `id`\\.");
|
||||
private static final Pattern DEPRECATED_ID_PATTERN = Pattern.compile("(?im)The query used a deprecated function[\\.:] \\(?[`']id.+");
|
||||
|
||||
/**
|
||||
* Does some post-processing on the giving result summary, especially logging all notifications
|
||||
|
||||
Reference in New Issue
Block a user