Author:Brendon Upson
Email:
Subject:pSession.releaseDataConnection(cx);
Category:Development
Message:Puakma implements a database connection pool to improve database performance. When you make a call to Connection cx = pSession.getDataConnection("name"); there needs to be a later call to: pSession.releaseDataConnection(cx); Note that the release should appear outside the try/catch block, since if an exception is thrown, your code will never execute the release. The message you see on the console tells you the server has detected a non-released connection and is releasing it for you. It is best not to rely on the server to clean up your open connections, otherwise the connection will be held open much longer than is required so overall performance will be reduced.

Threads:
Releasing Connections   Lardy John 03.Dec.03
    pSession.releaseDataConnection(cx);   Brendon Upson 04.Dec.03