Hibernate

0
1225

Why Hibernate?

  1. is the most prevalent ORM for Java.
  2. is integrated with modern classical js frameworks like Breeze/Angular

Vertical Scaling Pattern

  1. Create Maven project to get transitive dependencies on hibernate and mysql and test to see the project is clean
  2. Add the config file for hibernate
  3. Create the Utill Class to read the config file
  4. Test you can open and close the session to the data base
  5. Create a POJO for entity
  6. Create mapping file for POJO to the database columns
  7. Test adding a Row in the database and updating a row