Dataset using a java action - how to implement parameters in the code?

I'm creating a IDataTable in this action by building my own OQL query. String query = "FROM xxx SELECT xxx"..... IDataTable dataTable = Core.retrieveOQLDataTable(getContext(), query); My problem is that I can't seem to figure out how i could use the parameters in this context. For example the lines below. private IDataSetParameter<Date> datePart; private IMendixObject __WereldNaam; Is there a piece of sample code that i could use to solve my problem.
1 answers

The Core.retrieveOQLDataTable() so has no parameters so the parameters are replaced with guids in the java action.