Multi-threading support: thread-local storage for database remappings information and connection levels for AR classes