These are the codes. I cant see any error there. Please kindly help. Thanks.
void saveMedicalReco rds() {
try {
Class.forName(d river);
Connection connection = DriverManager.g etConnection(ur l2, username, password);
Statement statement = connection.crea teStatement();
sql = "INSERT INTO medicalrecords (NRIC, Time, Diagnosis, MC, NoOfDays, Prescription1, Qty1, Prescription2, Qty2,...