|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--genealogy.dbhandler.DBGeneral
General database-class.
| Field Summary | |
private java.lang.String |
DBUrl
|
| Constructor Summary | |
DBGeneral()
create new DBGeneral, read config-file. |
|
| Method Summary | |
protected java.sql.Connection |
getDbConn()
Loads org.gjt.mm.mysql.Driver-class, makes a JDBC-connection a database conffed in config.cfg and returns a Connection. |
void |
loadDBUrl()
Loads the DATABASE_URL from the config-file |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private java.lang.String DBUrl
| Constructor Detail |
public DBGeneral()
| Method Detail |
protected java.sql.Connection getDbConn()
public void loadDBUrl()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||