See the documentation:

http://tapestry.apache.org/tapestry5/tapestry-hibernate/userguide.html

for how to decorate your service to enable @CommitAfter.

On Mon, Feb 2, 2009 at 8:06 AM, Massimo Lusetti <mluse...@gmail.com> wrote:
> On Mon, Feb 2, 2009 at 4:03 PM, Marcelo Lotif <mlotifj...@gmail.com> wrote:
>
>> But when we try to persist the entity into the DB, it fails because the
>> annotation @CommitAfter has no effect here (I suppose). I tried to start and
>> commit a transaction manually and it did well, but when tapestry-hibernate
>> tried to do another query, it fails and gives the following exception:
>
> If that's the case use HibernateSessionManager.
>
>
> --
> Massimo
> http://meridio.blogspot.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to