|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.ac.ebi.intact.application.goDensity.business.data.DbTools
This class is used for db-connection (it's a Singleton!)
| Method Summary | |
void |
closeCon()
close jdbc connection |
void |
finalize()
if instance of DbTools.java is no longer in use |
void |
generateTables()
generation of all the tables for goDensity |
java.sql.Connection |
getCon()
|
static DbTools |
getInstance()
|
static void |
main(java.lang.String[] args)
main |
void |
updateCon()
if connection to db is closed, the connection will be established again |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static DbTools getInstance()
public java.sql.Connection getCon()
public void updateCon()
public void closeCon()
public void finalize()
finalize in class java.lang.Objectpublic void generateTables()
public static void main(java.lang.String[] args)
args -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||