com.stratelia.webactiv.util.pool
Class ConnectionPool
java.lang.Object
com.stratelia.webactiv.util.pool.ConnectionPool
public class ConnectionPool
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
releaseConnections
public static void releaseConnections()
throws SQLException
- Release all the connections and close the pool.
- Throws:
SQLException
getConnection
public static Connection getConnection()
throws SQLException
- Return a connection to Silverpeas database from the pool.
- Returns:
- a connection to Silverpeas database.
- Throws:
SQLException
Copyright © 2016 Silverpeas. All Rights Reserved.