|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.taverna.t2.provenance.connector.JDBCConnector
public class JDBCConnector
A shared factory class for retrieving a connection to the database. The client is responsible for closing the connection once its finished with. The connection needs to be configured externally using a JNDI data source named "jdbc/taverna"
Constructor Summary | |
---|---|
JDBCConnector()
|
Method Summary | |
---|---|
static java.sql.Connection |
getConnection()
Provides a connection to a database, that has been defined externally as a JNDI DataSource with the name 'jdbc/taverna' The client is responsible for closing the connection once finished with. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDBCConnector()
Method Detail |
---|
public static java.sql.Connection getConnection() throws java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException, java.sql.SQLException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |