Articles
PostgreSQL
Derby
Hibernate
  • · Hibernate Home [hibernate.org]
  • · Hibernate Guidelines [owasp.org]
  • · Hibernate Mapping Cheat Sheet [ndpsoftware.com]
  • · Understanding Lazy Fetching [javalobby.org]
  • · Open Session in View [community.jboss.org]
    A common issue in a typical web-application is the rendering of the view, after the main logic of the action has been completed, and therefore, the Hibernate Session has already been closed and the database transaction has ended. If you access detached objects that have been loaded in the Session inside your JSP (or any other view rendering mechanism), you might hit an unloaded collection or a proxy that isn't initialized. The exception you get is: LazyInitializationException: Session has been closed (or a very similar message).
  • One table per subclass vs One Table per class hierarchy (using a discriminator)