Question: Goal: Write at least two classes that will store and retrieve data of your choice. Deliverables: An Eclipse project that has two classes, which load
Goal: Write at least two classes that will store and retrieve data of your choice.
Deliverables: An Eclipse project that has two classes, which load and display your data.
Details:
Choose a data schema that contains at least five columns, one of which is a primary key.
Create a .csv file with at least eight data lines. The first row optionally contains the column names.
Write a Load class with a main method that loads the data from the .csv file into the database table.
Download the SQLite3 database driver sqlite-jdbc-3.8.7.jar to the folder where you are keeping your Java projects. Select Projects >> Properties >> Java Build Path >> Libraries Tab >> Add External Jars... Button. Browse for and open sqlite-jdbc-3.7.2.jar; click OK.
Write a Display class that inputs a primary key, then displays on the screen the corresponding data in a row of the table.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
