labs / tiddlers / content / labs / lab07 / _Labs_07_Test with the JDBI
@Mark George Mark George on 3 Sep 548 bytes Lab 7

Switch the system to use the JDBI DAOs instead of the JDBC DAOs and test it again.

  1. Open the Server class in the service package.

  2. The first four lines of the constructor are where the DAOs are created. Currently the JDBI versions are commented out.

    Comment out the two JDBC DAOs and uncomment the JDBI versions.

  3. Stop, and restart the system.

  4. The system should behave as before, but now it is using the JDBI DAOs to interact with the database.

  5. Verify that the data that you have added made it into the database via DBeaver.