Hi,
I asked a question related to Geoserver transactions some days ago :
http://sourceforge.net/p/geoserver/mailman/message/32422758/
The answers really helped me! Now I use "handles" and, as long as I send valid XML, the correct
handle is returned to me by Geoserver.
But there is something I must be 100% sure and I'm currently not....
Jody Garnette wrote :
/> Andrea nailed it, transactions work as a single request/
Can someone confirm that it's/not/ possible to have this kind of process on Geoserver : begin() ->
send multiple requests -> commit()/ rollback()
The problem is that some of our actions (insert / update / delete) /depend on the execution of the
previous actions/. For example, let's say we have 3 actions that must be transactional (they must
all succeed or everything must be rollbacked).
- action #1 is applied to Geoserver
- action #2 is validated using the results of the execution of action #1. It is valid, so we apply
it to GeoServer.
- action #3 is validated using the results of the execution of action #2. It is NOT valid, it can't
be applied!
Here, action #3 local validation failed, so the previous actions (action #1 and action #2) must be
rollbacked.
Is it possible to achieve that with Geoserver?
With a single "<wfs:Transaction>" request, it's not possible to programatically validate action #3 ,
with local business rules, if this validation requires to check the results of the application of
the previous actions.
What makes me think that it may be possible to achieve such "external" transaction controle, is that
the Geotools client seems to do it. Is it?
Thanks a lot in advance!
Julien
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users