<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>16 Feb 2016 11:57:00 Z</lastBuildDate><pubDate>15 Feb 2016 17:27:00 Z</pubDate><description>Hi,&#13;
&#13;
in my application I use queries created by WD Query Editor by HExecuteQuery, queries written in MySQL code by HExecuteSQLQuery and the functions HTransactionStart, HTransactionEnd and HTransactionCancel.&#13;
&#13;
The application has many components using these queries and sharing an external variable (ExtDBConnection) to make sure to use the same connection...but it is not enough, in the MySQL log I see many connections opened by the app.&#13;
&#13;
Do someone of you have a technique?&#13;
&#13;
Dann</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56441-wd20-how-make-sure-use-same-connection/read.awp</link><title>[WD20] How to make me sure to use the same DB connection?</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56441-wd20-how-make-sure-use-same-connection-56448/read.awp</comments><pubDate>16 Feb 2016 11:57:00 Z</pubDate><description>I found issues with HTransactionxxx functions in that it left open connections on MySQL.&#13;
The help says to use HTransactionStart…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56441-wd20-how-make-sure-use-same-connection-56448/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56441-wd20-how-make-sure-use-same-connection-56448/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56441-wd20-how-make-sure-use-same-connection/read.awp">[WD20] How to make me sure to use the same DB connection?</source><title>Re: [WD20] How to make me sure to use the same DB connection?</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56441-wd20-how-make-sure-use-same-connection-56446/read.awp</comments><pubDate>16 Feb 2016 08:58:00 Z</pubDate><description>Hi DerekT,&#13;
&#13;
The online Help teaches that HTransactionStart, HTransactionEnd and HTransactionCancel work with the Native Access…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56441-wd20-how-make-sure-use-same-connection-56446/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56441-wd20-how-make-sure-use-same-connection-56446/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56441-wd20-how-make-sure-use-same-connection/read.awp">[WD20] How to make me sure to use the same DB connection?</source><title>Re: [WD20] How to make me sure to use the same DB connection?</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56441-wd20-how-make-sure-use-same-connection-56443/read.awp</comments><pubDate>15 Feb 2016 20:48:00 Z</pubDate><description>HTransactionStart, HTransactionEnd and HTransactionCancel do not work with MySQL&#13;
&#13;
You need to use something like//Open connect…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56441-wd20-how-make-sure-use-same-connection-56443/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56441-wd20-how-make-sure-use-same-connection-56443/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56441-wd20-how-make-sure-use-same-connection/read.awp">[WD20] How to make me sure to use the same DB connection?</source><title>Re: [WD20] How to make me sure to use the same DB connection?</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56441-wd20-how-make-sure-use-same-connection-56442/read.awp</comments><pubDate>15 Feb 2016 18:01:00 Z</pubDate><description>The same for me. The main exe opens the connection "MyConnection" with HOpenConnection + HChangeConnection for all tables (*.* p…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56441-wd20-how-make-sure-use-same-connection-56442/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56441-wd20-how-make-sure-use-same-connection-56442/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56441-wd20-how-make-sure-use-same-connection/read.awp">[WD20] How to make me sure to use the same DB connection?</source><title>Re: [WD20] How to make me sure to use the same DB connection?</title></item></channel></rss>
