Catatumbo - Query with a Filter using Positional Parameters
// Select with positional bindings (parameters). Note the @1 in the query.
EntityQueryRequest request = em.createEntityQueryRequest("SELECT * FROM people WHERE lname=@1");
//Add a binding - in this case @1 will be set to "Smith"
request.addPositionalBinding("Smith");
QueryResponse<Person> response = em.executeEntityQueryRequest(Person.class, request);
List<Person> persons = response.getResults();
// Process the list as needed