[fdo-users] transaction using fdo-postgis provider

taiyabali rjpillai at tatapowersed.com
Thu Jul 4 04:46:14 PDT 2013


Hi,
I am new to FDO library and i am using FDO 3.8.0 to connect and perform
various operation on my postgresql-9.1 database with postgis2.0 and I need
to use Fdo Longtransaction commands for transaction managment. 

when i query for the command capabilities-

FdoPtr<FdoIConnectionCapabilities> concap =
(FdoIConnectionCapabilities*)m_objFDOConnection->GetCommandCapabilities();
bool supprttransaction = concap->SupportsTransactions(); 

its giving support as true but when try to create a command 

FdoPtr<FdoIActivateLongTransaction> getlongtransaction =
(FdoIActivateLongTransaction*)m_objFDOConnection->CreateCommand(FdoCommandType_ActivateLongTransaction);

it gives me  exceptionMessage = "Command not supported "



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/transaction-using-fdo-postgis-provider-tp5064065.html
Sent from the FDO Users mailing list archive at Nabble.com.


More information about the fdo-users mailing list