Fix Oracle provider thread safety issue, fix LoadReferencesJoinTest on Oracle.
Merge pull request #401 from BruceCowan-AI/FixThreadSafetyAndLoadReferencesTest

Fix Oracle provider thread safety issue, fix LoadReferencesJoinTest on O...