Skip to content

Add some more query examples #355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

karesti
Copy link
Contributor

@karesti karesti commented Apr 14, 2025

No description provided.

@karesti karesti requested a review from fax4ever April 14, 2025 17:23
Comment on lines +125 to +142
Query<Object[]> queryProjection = teamCache.query("select t.teamName, score(t) FROM tutorial.Team t join t.players p where p.lastName = :lastName");
queryProjection.setParameter("lastName", "Granger");
results = queryProjection.execute().list();
System.out.println("Hermione number of teams: " + results.size());
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fax4ever this is not working the same in the test suite than the real server. results look the same when I try with the rest api and hotrod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant