Professional Documents
Culture Documents
.X 3 Databases
.X 3 Databases
1. THEORY
How does the JDBC framework work? Explain with the help of a figure how Java applications get
access to various databases.
2. IMPLEMENTATION
Suppose a MySQL database named ‘hospital’ under-lies a Java application. The database contains
four tables
i) patients_t
ii) doctors_t
iii) rooms _t
iv) beds_t
NOTE: You may use values of your choice for server-name, username, and password.