Re: Just trying to get an Active Transaction

2009-07-14 Thread newtonik
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

Re: Just trying to get an Active Transaction

2009-07-14 Thread Howard Lewis Ship
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

Re: Just trying to get an Active Transaction

2009-07-14 Thread newtonik
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