Totally my mistake. I am a not an expert at the api, having only used if for 2.5 years, don't know why I didn't notice clear(). clear() seems to do the job that I am looking for, as long as AFTER any call to clear(), results of newly performed queries are tracked back into the session. If that is the case, then close, if not, then attach this request to session.clear().
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Totally my mistake. I am a not an expert at the api, having only used if for 2.5 years, don't know why I didn't notice clear(). clear() seems to do the job that I am looking for, as long as AFTER any call to clear(), results of newly performed queries are tracked back into the session. If that is the case, then close, if not, then attach this request to session.clear().