Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2740

Re: SQLCA in a shared object (yet again)

$
0
0

Hi,

 

If you get troubles using SQLCA in a shared object (a thread), please don't blame Powerbuilder.

Moreover SQLCA is not simply a global variable but it handles a DB connection.

My rule in threading is

Start the thread -Get the DB connection - Do the Job - Disconnect- Dispose the objects,

and then you are safe.

Because the DB connections may be handled by a Connection pool of the main thread.

 

Regards.

Abdallah.


Viewing all articles
Browse latest Browse all 2740

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>