Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
1 result

hibernate-example

  • Clone with SSH
  • Clone with HTTPS
  • Name Last commit Last update
    src/main
    .gitignore
    README.md
    pom.xml

    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.