on SchemaCache use the connection getter instead of the obj given
Merge pull request #12176 from arthurnn/ar32_schema_cache

on SchemaCache use the connection getter instead of the obj given