Thanks, that makes sense. I also actually meant HibernateSessionManager's
getSession.
Howard Lewis Ship wrote:
>
> When you @Inject the session, you get a global proxy to the real
> per-thread Session, which is created on demand. Using
> HSF.getSession() you get the rea per-threadl Hibernate
When you @Inject the session, you get a global proxy to the real
per-thread Session, which is created on demand. Using
HSF.getSession() you get the rea per-threadl Hibernate session. I
think the Envers code is written in such a way that it requires the
real Session.
On Tue, Jul 14, 2009 at 8:48
newtonik wrote:
>
> Hey,
> I am trying to do auditing/versioning using the Hibernate
> http://www.jboss.org/files/envers/docs/index.html Envers module. I look
> around, didn't really see much doc on versioning by tapestry users.
> However, I got it work, as in, It automatically saves new revi