//Insert methods for all tables //Type 1 = tables that need a specialised query public void insertPatientInformation(String name, String dateOfBirth, String nationality, int nhsNo, String address) { dbOpen(); insertQueries.patientInformation(name, dateOfBirth, nationality, nhsNo, address); dbClose(); }
//Insert methods for all tables //Type 1 = tables that need a specialised query public void insertPatientInformation(String name, String dateOfBirth, String nationality, int nhsNo, String address, String weight) { dbOpen(); Insertion ins = new Insertion(con); ins.patientInformation(name, dateOfBirth, nationality, nhsNo, address, weight); dbClose(); }