|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--MyConnection
This class is to be used from all other classes to create the database connection.
| Constructor Summary | |
MyConnection()
|
|
| Method Summary | |
static void |
close()
Closes a connection. |
static java.sql.Connection |
open()
Loads the MySQL jdbc driver and return a Connecton. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MyConnection()
| Method Detail |
public static void close()
public static java.sql.Connection open()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||