Closing services
Posted: Wed May 18, 2011 5:04 pm
I am reviewing my code and would like to know if these services get closed automatically or should I close them? Since they do not have a close() method is there another way to make sure I dont have any memory issues by keeping these open.
- Code: Select all
queryService = session.getQueryService()
updateService = session.getUpdateService()
rawFileStore = session.createRawFileStore()