Project

General

Profile

Sample-hibernate-basic » History » Version 4

Henning Blohm, 16.09.2012 16:03

1 1 Henning Blohm
h1. A plain Hibernate on Z2 sample
2 2 Henning Blohm
3 3 Henning Blohm
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). 
4 4 Henning Blohm
5
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.
6
7
If everything would happen inside one module, the structure could be kept even simpler.