Could you please provide a sample code of how to implement TOracleSessionPool. I was unable to find any code that demonstrates the concept.
I am trying to create a pool of homogeneous, oracle sessions and load it upon startup of the application. When a user session needs to access the database, I would assign available oracle session, from the pool, to the TOracleQuery/TOracleDataSet.
I am not sure if I have to create the TOracleSessions and then associate with SessionPool (global session pool) or use SessionPool to do that. Do I maintain my own list of TOracleSessions or does the SessionPool do that.
It would extremely helpfull if you can provide an example.
I am trying to create a pool of homogeneous, oracle sessions and load it upon startup of the application. When a user session needs to access the database, I would assign available oracle session, from the pool, to the TOracleQuery/TOracleDataSet.
I am not sure if I have to create the TOracleSessions and then associate with SessionPool (global session pool) or use SessionPool to do that. Do I maintain my own list of TOracleSessions or does the SessionPool do that.
It would extremely helpfull if you can provide an example.