filteredQuery = getFilteredQuery(filterValue);
int max_rows = 1000;
Connection connection = null;
try{
JDBCDataSet dataSet = (JDBCDataSet)getEnv().get(EngineConstants.ENV_DATASET);
if(dataSet != null) {
connection = dataSet.getDataSource().getConnection();
} else {
connection = getDataSource().getConnection();
}
Statement statement = connection.createStatement();
statement.execute(filteredQuery);