I have an xdata server with a ServerContainer (DataModule) that holds:
TXDataServer
TXDataConnectionPool
TAureliusConnection
TFDConnection
I have an OmniBackgroundWorker which manages a job queue (so Jobs in Threads).
In the jobs I need access to a TObjectManager and possibly a DataConnection. So the question is
Do the Jobs need to create their own connections?
Or is it safe to call a connection from TXDataConnectionPool.GetPoolInterface.GetConnection?
Or should I do this another way?
Thanks.