For session-free applications, you must explicitly release the connections held by a Connection object when they are no longer needed. Use the following method on the Connection object for this purpose:
public void releaseConnection()
Note: This method is not necessary for and has no effect in session-managed applications.