If the connection is known then do nothing. If the connection is new then issue a SQL begin work and hold onto it for later. Actually the begin work is implicit and autocommit drives whether a transaction is progressed.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.