Source code for tutorial about Hibernate and PostgreSQL configuration using persistence.xml and Entity Manager