Avoid replicating the clearing of TreeCache on SessionFactory..close()

Description

in a cluster it can be beneficial to not call .destory() on each cacheprovider since it clears out the complete cache which might not be the most optimal case.

(case 6661)

Environment

None

Assignee

Steve Ebersole

Reporter

Max Rydahl Andersen

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure