diff --git a/output/info202_labs.html b/output/info202_labs.html index db3e0a3..168ca64 100644 --- a/output/info202_labs.html +++ b/output/info202_labs.html @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3a5950650db74411272c9a77b550a83d9cf85ad74e675143d6546ca0d4b0217f -size 4787162 +oid sha256:8fb550e50c7e9770afec49fc4f5811f5ccc2ecbfc4d8718376ebaf8c542e1705 +size 4787360 diff --git a/tiddlers/content/labs/lab07/_Labs_07_Filtering by Major.md b/tiddlers/content/labs/lab07/_Labs_07_Filtering by Major.md index a8e1664..6d46105 100644 --- a/tiddlers/content/labs/lab07/_Labs_07_Filtering by Major.md +++ b/tiddlers/content/labs/lab07/_Labs_07_Filtering by Major.md @@ -30,6 +30,8 @@ 1. Add the `filterByMajor` and `getMajor` methods to the `StudentJdbiDAO` interface. Add appropriate annotations. +1. You will also need to add a `major` field to your student table in the database. + 1. Add tests to your DAO test to test the `filterByMajor` and `getMajors` methods. Test both of your DAO classes to make sure that both implementations work. Refer lab 7 again: https://isgb.otago.ac.nz/info202/shared/lab07/blob/master/src/test/java/dao/StudentDAOTest.java diff --git a/tiddlers/content/labs/lab07/_Labs_07_Perform the Filtering.md b/tiddlers/content/labs/lab07/_Labs_07_Perform the Filtering.md index e5e51fc..a4cc2e5 100644 --- a/tiddlers/content/labs/lab07/_Labs_07_Perform the Filtering.md +++ b/tiddlers/content/labs/lab07/_Labs_07_Perform the Filtering.md @@ -21,4 +21,6 @@ %> ``` +Modify the for-loop so that it is using the `students` collection rather than accessing the DAO directly. + Restart and test your system. You should now be able to filter by major using the links above the table. \ No newline at end of file