Beispiel #1
0
def cleanupPool():
    """
	Cleanup connection pool. Closing all inactive connections.
	
	@author: Nick Verbeck
	@since: 9/12/2008
	"""
    PySQLPool.PySQLPool().Cleanup()
Beispiel #2
0
def terminatePool():
    """
	Terminate all Connection
	
	@author: Nick Verbeck
	@since: 5/12/2008
	"""
    PySQLPool.PySQLPool().Terminate()
Beispiel #3
0
def commitPool():
    """
	Commits All changes in pool
	
	@author: Nick Verbeck
	@since: 9/12/2008
	"""
    PySQLPool.PySQLPool().Commit()
Beispiel #4
0
def getNewPool():
    """
	Create a new PySQLPool
	
	@author: Nick Verbeck
	@since: 5/12/2008
	"""
    return PySQLPool.PySQLPool()