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

bind named queries to methods #28

Open
mhgrove opened this issue Mar 29, 2010 · 0 comments
Open

bind named queries to methods #28

mhgrove opened this issue Mar 29, 2010 · 0 comments
Milestone

Comments

@mhgrove
Copy link
Owner

mhgrove commented Mar 29, 2010

Alibaba in sesame has this sort of system:

@sparql("SELECT ?member "+
"WHERE { $this eg:bloodPressureHistory ?member . " +
" ?member eg:measurementDate ?date } ORDER BY ?date")
public abstract Result findBloodPressureByDate();

calling that method will execute that query. might be a useful non-JPA specific feature to add, though we can probably overload using namedqueries for this stuff

@mhgrove mhgrove modified the milestones: 0.9, 1.0 Jul 14, 2015
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

No branches or pull requests

1 participant