« Return to Thread: implementing long poll in grails

Re: implementing long poll in grails

by Robert Fischer :: Rate this Message:

Reply to Author | View in Thread

Dave Crane wrote:
> I did solve the original problem that I posted to the list - as I
> recall, I needed to explicitly call save() on domain classes before
> going to sleep so that other calls to the server would see them.
>

Getting back to the original version: you'll probably need a .save(flush:true).  And depending on
the transaction settings on the DB, maybe a transaction commit.

~~ Robert Fischer, Smokejumper IT Consulting.
Enfranchised Mind Blog http://EnfranchisedMind.com/blog

Check out my book, "Grails Persistence with GORM and GSQL"!
http://www.smokejumperit.com/redirect.html

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

    http://xircles.codehaus.org/manage_email


 « Return to Thread: implementing long poll in grails