Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 1.55 KB

README.md

File metadata and controls

24 lines (20 loc) · 1.55 KB

Nutrish Sr28 Kotlin

🔥 Greg Eakin

This is an experiment in configuring an existing database in Hibernate and JUnit 5. Here we defined the schema with annotations in Kotlin files running in the JRE.

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