Re: tapestry-hibernate session.save not working in service

2014-11-21 Thread George Christman
On Fri, Nov 21, 2014 at 9:54 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 21 Nov 2014 12:50:11 -0200, George Christman < > gchrist...@cardaddy.com> wrote: > > I tried those Lance with the exception of @CommitAfter do to the fact I >> thought that @CommitAfter needed to

Re: tapestry-hibernate session.save not working in service

2014-11-21 Thread Thiago H de Paula Figueiredo
On Fri, 21 Nov 2014 12:50:11 -0200, George Christman wrote: I tried those Lance with the exception of @CommitAfter do to the fact I thought that @CommitAfter needed to be used in the interface. Before the latest 5.4 betas yes, but not anymore. I even went as far as passing the save off to

Re: tapestry-hibernate session.save not working in service

2014-11-21 Thread George Christman
I tried those Lance with the exception of @CommitAfter do to the fact I thought that @CommitAfter needed to be used in the interface. I even went as far as passing the save off to my DAO that has been configured to use HibernateTransactionAdvisor. I thought for sure this would resolve the issue, bu

Re: tapestry-hibernate session.save not working in service

2014-11-21 Thread Thiago H de Paula Figueiredo
@CommitAfter will only work on service methods if you applied the HibernateTransactionAdvisor or HibernateTransactionDecorator to the service. On Fri, 21 Nov 2014 06:47:43 -0200, Lance Java wrote: I'm guessing you need to commit a transaction. Either: HibernateSessionManager.commit()

Re: tapestry-hibernate session.save not working in service

2014-11-21 Thread Lance Java
I'm guessing you need to commit a transaction. Either: HibernateSessionManager.commit() Or: Session.getTransaction().commit() Or: @CommitAfter

tapestry-hibernate session.save not working in service

2014-11-20 Thread George Christman
Hi guys, I'm trying to use Kalle's federate library. On line 29 and 33 you'll see save and update and when I do a save / update nothing happens. I turned on query logging and no insert happens. https://github.com/tynamo/tynamo-federatedaccounts/blob/master/tynamo-federatedaccounts-core/src/main/ja