You need to execute the DISCONNECT. I often have below functionality + error handling in my transaction base class.
// of_Disconnect: Encapsulates embedded SQL
if this.DBHandle() = 0 then return // Already disconnected => DONE
DISCONNECT USING this;
// -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
// Destructor: Auto-disconnect if you want that safety
this.of_Disconnect()
Comment
There are no comments made yet.
Page :
1
There are no replies made for this question yet. However, you are not allowed to reply to this question.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.