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, but still nothing. The query in the class is functioning perfectly
though.

On Fri, Nov 21, 2014 at 7:31 AM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:

> @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 <lance.j...@googlemail.com>
> wrote:
>
>  I'm guessing you need to commit a transaction.
>>
>> Either:
>> HibernateSessionManager.commit()
>>
>> Or:
>> Session.getTransaction().commit()
>>
>> Or:
>> @CommitAfter
>>
>
>
> --
> Thiago H. de Paula Figueiredo
> Tapestry, Java and Hibernate consultant and developer
> http://machina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
George Christman
CEO
www.CarDaddy.com
P.O. Box 735
Johnstown, New York

Reply via email to