SyntaxFix
Write A Post
Hire A Developer
Questions
Use Query.setParameterList(), Javadoc here.
Query.setParameterList()
There are four variants to pick from.