Grails synchronize execution of service method -
i trying add files (blog)post domain object. file uploader allows send multiple ajax requests 1 each file in parallel.
how can best take care of synchronization on server side?
to avoid:
could not synchronize database state session org.hibernate.staleobjectstateexception: row updated or deleted transaction (or unsaved-value mapping incorrect):
i doing in grails service with:
static scope = "session"
this didn't needed.
Comments
Post a Comment