posted 1 year ago
Hello again,
Thank you for the all the replies on my previous post, I managed to make some progress with my application but I found myself stuck once again. So I'm working on this student management application that stores and retrieves data from a database. I have 2 tables, students and modules. My first table 'Students' was working as intended, I was able to get the user to input student details and store them on the database and then display the table to the user using a TableView, now I added the second table 'Modules' and while I'm still able to insert data onto the table, when I try to display it back to the user using the same method as I do for table now, the student ID column is not displaying any data and I'm getting that annoying PropertyValueFactory error again. I don't know if this is relevant but student_id is a foreign key from students table. I feel like I mistyped something somewhere but I triple checked my code and I don't seem to find anything. The student_id is no longer displaying anything on the student tableView either since I added the second table insert statements, I almost forgot to mention.
My code
Student Class
Module Class
The show modules method
The error message