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

Query do not inherit parameters setted on subquery #376

Closed
BuBuaBu opened this issue Mar 27, 2013 · 1 comment
Closed

Query do not inherit parameters setted on subquery #376

BuBuaBu opened this issue Mar 27, 2013 · 1 comment
Milestone

Comments

@BuBuaBu
Copy link

@BuBuaBu BuBuaBu commented Mar 27, 2013

When using parameter on a subQuery, and setting its value on the subquery
then the value is not know for the query.

An exemple (wich will be more clear)

Param aParam = new Param(String.class);

SQLSubQuery subQuery = new SQLSubQuery().from(table).where(table.a.eq(aParam));
subQuery.set(aParam, "value");

SQLQuery query = new SQLQuery(connection, sqlTemplates);
query.from(subQuery.list(Wildcard.all));

timowest added a commit that referenced this issue Mar 27, 2013
@timowest
Copy link
Member

@timowest timowest commented Mar 27, 2013

Released in 3.1.0

@timowest timowest closed this Mar 27, 2013
@timowest timowest added this to the 3.1.0 milestone Apr 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants