Recently I had the opportunity to speak on Hibernate at the UK Java User Group – Scotland. The presentation was partly slides and partly a live demo.

In this live demo, I covered following examples:

  • Single table CRUD
  • Single table CRUD where the id was autogenerated
  • One-Many CRUD
  • Many-Many CRUD

I have since migrated the example to work on Eclipse Ganymede (3.4.1) instead of MyEclipse 7.1. I have also made some small changes to the code.

You can download the presentation and the example code as a single zip file from here ->

To run the examples, you will need a PostgreSQL database. The SQL script for that is available in the db folder.

Leave a Reply


six × = 18