Hibernate example
This code creates a simple one-to-many relationship between two tables and populates them.
Usage
Copy src/main/resources/hibernate.cfg.xml-TEMPLATE
to
src/main/resources/hibernate.cfg.xml
and replace both occurrences of
USERNAME
with your CSE username, and replace MYSQL_PASSWORD
with your
MySQL password.
The main
method is in edu.unl.cse.csce361.hibernate.FruitPopulator
.