MappingExplorer and thread safety

Hi, can a TMappingExplorer be shared among threads in a multithreaded server environment?

I have created three separate MappingExplorers servicing different databases. Is it okay to create these MappingExplorer objects on server startup or should they be created within each thread?

I use them when creating TObjectManagers within each thread.


Yes, you can. That's how you should use it in mutithread. Create one object manager in each thread, sharing the mapping explorer.