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

Allow full usage of subquery from clause #193

Closed
beikov opened this issue Feb 27, 2016 · 0 comments

Comments

@beikov
Copy link
Member

commented Feb 27, 2016

Currently our FromBuilder only supports the usage of entities, but JPQL subqueries may also contain other constructs.

A derived_path_expression is a reference to some association of a variable defined by the parent query. The following example should illustrate how that can look.

SELECT a FROM A a WHERE EXISTS(SELECT 1 FROM a.collection)

Note that the non-terminals derived_collection_member_declaration and collection_member_expression IMO provide the same functionality like derived_path_expression which is why I'd opt for just implementing it that way.

@beikov beikov added the enhancement label Feb 27, 2016

@beikov beikov added this to the 1.2.0 milestone Feb 27, 2016

@beikov beikov assigned beikov and unassigned Mobe91 Aug 1, 2016

@beikov beikov closed this in 31862b9 Aug 1, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.