Ver Mensaje Individual
  #20  
Antiguo 14-09-2015
Toni Toni is offline
Miembro
 
Registrado: may 2003
Ubicación: Barcelona - España
Posts: 364
Reputación: 22
Toni Va por buen camino
Me contesto yo mismo con una respuesta de un foro de 'Borland' por el señor Jeff Overcash:
Cita:
This means the transaction is started before you called ApplyUpdates.
DataSnap only commits the transaction if it starts it. You should
never touch the transaction for a DataSnap driven IBX query. The
transaction's AutoStopAction should always be set to saCommit and
PacketRecords needs to stay -1. This causes the transaction to be
closed after reading the data so it is in the right state when the CDS
tries to Apply the updates.
Y en el que tambien comentan el uso de varias transacciones sin problemas. En el caso de utilizar CDS+DSP+QRY no hay que utilizar nunca las llamadas de commit y rollback directamente al TIBTransacction.
__________________
Saludos,

Bitman

Última edición por Casimiro Notevi fecha: 14-09-2015 a las 20:35:44.
Responder Con Cita