org.biomoby.registry.rdfagent.util
Class DBConnector
java.lang.Object
org.biomoby.registry.rdfagent.util.DBConnector
public class DBConnector
- extends Object
- Author:
- Edward Kawas
Establish a connection with a database
DBConnector
public DBConnector()
throws MobyException
- Constructor
- Throws:
MobyException
- if the JDBC driver was not found
getConnection
public Connection getConnection()
throws MobyException
- Returns:
- a Connection object to the database
- Throws:
MobyException
- if there is an database access error
closeConnection
public void closeConnection()
- close the connection to the database
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010