[fdo-users] transaction using fdo-postgis provider
greg.boone at autodesk.com
Mon Jul 8 22:07:11 PDT 2013
Ok. Then I go back to Jackie's response... It sounds like he described what you need pretty well.
FdoPtr<FdoITransaction> trans = fdoConn->BeginTransaction();
//Do your changes here
bool ret = CallMyApplySchema();
//Commit the transaction when done
catch (FdoException* ex) //Something went wrong
From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of taiyabali
Sent: Monday, July 08, 2013 2:20 AM
To: fdo-users at lists.osgeo.org
Subject: Re: [fdo-users] transaction using fdo-postgis provider
Thanks for replying but can you explain the solution little more. I don't know much about FDO I am very new to this API. Are you saying to make a manager class of our own and manage this transaction manually. If that is what you are suggesting then I don't think its a good solution because transactions in database should be managed by database not on client side.
If your suggestion is something else Then can you please elaborate it a little more. Thanks
View this message in context: http://osgeo-org.1560.x6.nabble.com/transaction-using-fdo-postgis-provider-tp5064065p5064633.html
Sent from the FDO Users mailing list archive at Nabble.com.
fdo-users mailing list
fdo-users at lists.osgeo.org
More information about the fdo-users