Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.43 KB

README.md

File metadata and controls

23 lines (19 loc) · 1.43 KB

Nutrish Sr28

🔥 Greg Eakin

This is an experiment in configuring an existing database in Hibernate and JUnit 5. Here we defined the schema with annotation in Java files.

Run the Unit Tests

  1. Start the HSQLDB server by running dev.eakin.server.Database.main().
  2. Initialize the DB schema with dev.eakin.Ddl.main().
  3. Download SR28ASC.zip, and unzip into the data folder.
  4. Load the data into the database with dev.eakin.DbLoad.main().
  5. Run all unit tests; everything should pass.
  6. Remember to shut down the database when finished, by running dev.eakin.server.Shudown.main().

Tags

Database:

USDA Nutrition Database