|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.archive.arcrepository.bitpreservation.DBConnect
public class DBConnect
Logic to connect with the harvest definition database. This also defines basic logic for checking versions of tables. The statements to create the tables are in scripts/sql/createBitpreservationDB.sql
Method Summary | |
---|---|
static java.sql.Connection |
getDBConnection(java.lang.String dbUrl)
Get a connection to our database. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.sql.Connection getDBConnection(java.lang.String dbUrl) throws IOFailure
IOFailure
- if we cannot connect to the database (or find the
driver).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |