com.objectplanet.survey.plugin.api
Class ConnectionPool

java.lang.Object
  extended by com.objectplanet.survey.plugin.api.ConnectionPool

public final class ConnectionPool
extends java.lang.Object

Used to get database connection from the pool. Usage: ConnectionPool.getConnection();

Author:
Irina Brun

Constructor Summary
ConnectionPool()
           
 
Method Summary
static java.sql.Connection getConnection()
          Gets the database connection
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionPool

public ConnectionPool()
Method Detail

getConnection

public static java.sql.Connection getConnection()
                                         throws java.sql.SQLException
Gets the database connection

Returns:
The connection value
Throws:
java.sql.SQLException - Sql exception

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016