« Return to Thread: No Hibernate Session bound to thread

Re: No Hibernate Session bound to thread

by Brad Booth :: Rate this Message:

Reply to Author | View in Thread

The hibernate session is bound to the request, try the background-
thread plugin it solves this.


Sent from my iPhone

On Jun 23, 2009, at 11:07 AM, ray211 <raystiegler@...> wrote:

>
> Getting the following error:
> org.hibernate.HibernateException: No Hibernate Session bound to  
> thread, and
> configuration does not allow creation of non-transactional one here
>
> My Grails service listens for JMS message.  Once received it writes  
> that
> data to the database.  On the it.save() this exception is thrown.
>
> Any suggestions?
>
> Thaks!
> --
> View this message in context: http://www.nabble.com/No-Hibernate-Session-bound-to-thread-tp24169249p24169249.html
> Sent from the grails - dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: No Hibernate Session bound to thread