Inheritance diagram for DoctorDb:
Public Member Functions | |
Connection | connect () throws ClassNotFoundException, SQLException |
void | disconnect (Connection conn) throws SQLException |
Static Public Member Functions | |
static DoctorDb | getSingleton () |
Static Public Attributes | |
static final int | PRACTICE_ID = 67 |
Static Package Attributes | |
static DoctorDb | singleton |
Definition at line 7 of file DoctorDb.java.
|
Implements ConnectionFactory. Definition at line 12 of file DoctorDb.java. 00013 { 00014 Class.forName("org.postgresql.Driver"); 00015 Connection conn = DriverManager.getConnection( 00016 "jdbc:postgresql://localhost/doctor", 00017 "postgres", "lewrujop" 00018 ); 00019 return conn; 00020 }
|
|
Implements ConnectionFactory. Definition at line 22 of file DoctorDb.java.
|
|
Definition at line 33 of file DoctorDb.java. References singleton.
|
|
Definition at line 10 of file DoctorDb.java. |
|
Definition at line 31 of file DoctorDb.java. |