Skip to content
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

fully incorporate id(this) into JDQL #599

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

gavinking
Copy link
Contributor

A proposal, in case we want this in 1.0.

@otaviojava otaviojava requested a review from njr-11 March 27, 2024 06:09
* @return the entities with the given unique identifiers.
*/
@Query("where id(this) in :ids order by id(this)")
List<T> findByIdIn(@By(ID) List<K> ids);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why put this method back again?
We agree to remove it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well, we decided to remove it because we didn't have a good way to express it in any of the available query facilities, not because we hated it and thought it was useless.

I think it's kinda, well, at least medium-useful. Not a critical thing to have, but not a wart either.

Co-authored-by: Nathan Rauh <nathan.rauh@us.ibm.com>
@njr-11 njr-11 mentioned this pull request Apr 1, 2024
@KyleAure KyleAure mentioned this pull request Apr 3, 2024
28 tasks
@otaviojava
Copy link
Contributor

@gavinking could you rebase this one?

@gavinking
Copy link
Contributor Author

I will, but we have not decided to do it yet.

@otaviojava otaviojava added this to the Jakarta Data Future milestone Apr 17, 2024
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.

None yet

3 participants