Skip to content

Allow configuration of QueryEngine for Map repositories #576

Closed
@smurf667

Description

@smurf667

Hello, our code started to fail with UncategorizedKeyValueException after upgrading to Spring Boot 3.3.0:

Exception in thread "main" org.springframework.data.keyvalue.core.UncategorizedKeyValueException: class java.lang.String cannot be cast to class java.util.function.Predicate (java.lang.String and java.util.function.Predicate are in module java.base of loader 'bootstrap')

It turns out that the SpelQueryEngine is no longer used by default (despite the documentation saying so according to my reading). Also, I don't know how to configure this engine.

I have an example project at https://github.com/smurf667/demo-keyvalue which demonstrates the issue. Run mvn spring-boot:run to see the exception. Uncomment the older version 3.2.6 to make this work.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions