Project

General

Profile

Actions

Sample-hibernate-basic » History » Revision 4

« Previous | Revision 4/32 (diff) | Next »
Henning Blohm, 16.09.2012 16:03


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).

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.

Updated by Henning Blohm over 11 years ago · 4 revisions