http://grails.org/plugin/background-thread has some info on how it is used. This is one of the first plugins I always install.
On Tue, Jun 23, 2009 at 2:21 PM, Bradley Booth
<bradley.booth@...> wrote:
The db operation, it basically provides a hibernate session outside a http request
Sent from my iPhone
On Jun 23, 2009, at 1:48 PM, ray211 <
raystiegler@...> wrote:
Stupid question please!
Is the background-thread for the onMessage() of the DB write?
Brad Booth wrote:
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
--
View this message in context: http://www.nabble.com/No-Hibernate-Session-bound-to-thread-tp24169249p24174186.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