Query do not inherit parameters setted on subquery #376

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

Comments

Projects
None yet
2 participants
@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

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Mar 27, 2013

Member

Released in 3.1.0

Member

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