ROLLBACK y COMMIT

Login or register to post comments
5 replies [Last post]
Offline
Joined: 06/01/2009

Hi all, Qcubed use ROLLBACK and COMMIT or I can configured ROLLBACK and COMMIT in qcubed?

alex94040's picture
Offline
Joined: 11/06/2008

phl4kx, I'm sorry, I don't understand your question. Can you rephrase it, please?

Offline
Joined: 06/01/2009

if i can use Transactions in qcubed, if have same class or anything

akrohn's picture
Offline
Joined: 11/14/2008

I don't understand this too, but QCubed supports transactions.

alex94040's picture
Offline
Joined: 11/06/2008

phl4kx - I'm sorry, I'm really having trouble understanding what you're asking - most probably, because of linquistic barriers. Can you describe your question in more detail - like describe your scenario? This will help us infer what you really need.

OOPMan's picture
Offline
Joined: 11/07/2008

QCubed does support transactions...

Here is an example:


try
{
QApplication::$Databases[1]->TransactionBegin();
// ... some random code here...
QApplication::$Databases[1]->TransactionCommit();
}
catch(Exception $objException)
{
QApplication::$Databases[1]->TransactionRollback();
}