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

ParamExpressions for DML clauses are ignored #378

Closed
timowest opened this issue Mar 28, 2013 · 1 comment
Closed

ParamExpressions for DML clauses are ignored #378

timowest opened this issue Mar 28, 2013 · 1 comment
Milestone

Comments

@timowest
Copy link
Member

@timowest timowest commented Mar 28, 2013

The following code will not work :

Param<String> aParam = new Param<String>(String.class, "param");

SQLSubQuery subQuery = new SQLSubQuery();
subQuery.from(pet).where(pet.name.eq(aParam));
subQuery.set(aParam, "Fluffy");

SQLInsertClause insert = new SQLInsertClause(connection, getSqlTemplates(), pet);

insert.select(subQuery.list(Wildcard.all));
insert.execute();
timowest added a commit that referenced this issue Mar 28, 2013
@timowest
Copy link
Member Author

@timowest timowest commented Apr 16, 2013

Released in 3.1.1

@timowest timowest closed this Apr 16, 2013
@timowest timowest added this to the 3.1.1 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
1 participant