/**
* A {@link Book} {@code Repository} to test queries generated by Micronaut.
*/
@CoherenceRepository("book")
public interface BookRepository extends CrudRepository<Book, UUID> {
...
List<Book> findByTitleLike(String like);
...
}
Actual Behaviour
With 4.9.0, no results are returned.
What I've observed is that in 4.8.5 calling PreparedQuery.getQueryBindings (which we're using to build a map of parameters to feed to CohQL) returns a non-empty list (as expected), however, in 4.9.0 this value is always empty.
Expected Behavior
The following test and repository should yield results:
Actual Behaviour
With
4.9.0
, no results are returned.What I've observed is that in
4.8.5
callingPreparedQuery.getQueryBindings
(which we're using to build a map of parameters to feed to CohQL) returns a non-empty list (as expected), however, in4.9.0
this value is always empty.Steps To Reproduce
data-regression
branch in https://github.com/micronaut-projects/micronaut-coherenceGeneratedStatementsTest.shouldGetBooksWithTitleLike
Code on the Coherence side calling
PreparedQuery.getQueryBindings()
is inDefaultCoherenceRepostoryOperations.createBindingMap()
Environment Information
Example Application
No response
Version
4.6.3