Project

General

Profile

Sample-hibernate-basic » History » Revision 4

Revision 3 (Henning Blohm, 16.09.2012 15:59) → Revision 4/32 (Henning Blohm, 16.09.2012 16:03)

h1. A plain Hibernate on Z2 sample 

 Note that Hibernate is used in other samples as well, such as [[Sample-jta-plain]], [[Sample-jta-spring]], and others. This sample shows the minimal things to do to use Hibernate as an implementation of the Java Persistence API ("JPA":http://de.wikipedia.org/wiki/Java_Persistence_API).  

 The assumption of this example is that of a re-use domain module that implements a "Thingy Repository" and is used from a web application that is in another module. 

 If everything would happen inside one module, the structure could be kept even simpler.