grails-events-push
grails-events-push copied to clipboard
hibernate session not bound to thread
something for the wish list Stephane....
on two separate occassions I ran into no hibernate session bound to the thread problems. I can plop a DomainClass.withTransaction { -> closure in there which can kind of fix them but if it wasn't required that would be nice. The two occassions are:
- In the browser filter if I need to verify whether I can send the event to the client or not, I need to pull in other objects
- In the JSON rendering, I use custom renderers for domain objects, and again pull in associated data via hibernate - if that makes sense
Working on a pull request for this here. Hopefully I should have something to show soon.
thanks a lot, I'll have a look soon, I've spent tough times the last couple of month sorry for the delay :)
On Thu, Nov 15, 2012 at 2:50 PM, halfbaked [email protected] wrote:
Working on a pull request for this here. Hopefully I should have something to show soon.
— Reply to this email directly or view it on GitHubhttps://github.com/smaldini/grails-events-push/issues/20#issuecomment-10410811.