Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This Plugin offers a Interceptor that open a Plugin for Struts 2 that opens an Hibernate Session, put this in the Action Value Stack and close sets it in the value stack of the Actions configured for the HibernateSessionInterceptor (provided by this plugin) and closes (or not) this after Action invokation.it after the results are rendered for the client.

No code lines need to be added Using this you will need 0 lines of code to use Hibernate in Struts 2 projects. Only some XML lines will be neededare needed.

Ideal for new projects using Struts 2 and Hibernate.

Project is hosted at http://code.google.com/p/hibernatesession-plugin-for-struts2/