Hibernate has a strange way of creating these session contexts.
A Persistable is an object that can be persisted.
The object querier is used by JWIG to query the object with a given ID given as argument in a request.
Implements the Persistable interface so an integer field can hold the ID of the object.
Context in which JWIG maps the running program to a database session.
A DBSession serves the same purpose as a
A querier that will respond to all queries with an exception.
A session context class for Hibernate that binds the life cycle of a persistent object to that of a session.
A proxy class that the rest of the framework can contact JwigCurrentSessionContext through to avoid unwanted dependencies on Hibernate where Hibernate is not used.
An exception indicating that the object that was queried was not found.
An exception indicating that there was an error in the persistence system.
Copyright © 2008-2012 Anders Møller & Mathias Schwarz.