[Cubicweb] commit and rollback on rqlcontroller
mr.li.jinpeng at gmail.com
Fri Jun 13 14:55:55 CEST 2014
On Fri, Jun 13, 2014 at 12:28 PM, Julien Cristau <julien.cristau at logilab.fr>
> On Fri, Jun 13, 2014 at 12:18:52 +0200, Jinpeng Li wrote:
> > Dear all,
> > Yesterday I worked with Yann for the indexation on database and we have
> > some feedback on rqlcontroller. When we insert an entity
> > with rqlcontroller, the mandatory relations of this entity should be
> > inserted as well, otherwise I will get error. It means each post already
> > commit, or rollback when it fails.
> Yes, anything else would be madness.
> > Maybe cubicweb team needs to make it
> > stateless since it is RESTful Web services.
> I don't understand what you mean here.
Thanks for the quick reply.
I am wrong here.
Here, I would like to just repeat the same thing that the sever does commit
for each http request (rqls). Each request is independent (stateless).
> Julien Cristau <julien.cristau at logilab.fr>
> Logilab http://www.logilab.fr/
> Informatique scientifique & gestion de connaissances
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Cubicweb