|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.histpop.server.db.DB
public class DB
This class allows the abstraction of a database connection, via the getConnection method. It could be modified to implement connection pooling, but at present there is opnly one database connection
| Constructor Summary | |
|---|---|
DB(java.lang.String databaseURL,
java.lang.String databaseDriver)
|
|
| Method Summary | |
|---|---|
java.sql.Connection |
getConnection()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DB(java.lang.String databaseURL,
java.lang.String databaseDriver)
throws ServerException
ServerException| Method Detail |
|---|
public java.sql.Connection getConnection()
throws ServerException
ServerException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||