Error FireDac, TFDBatchMove, CommitCount

0

I need to do the transaction management, but:

Help TFDBatchMove.CommitCount:

"The CommitCount property is set to 100 by default. Setting CommitCount to 0 disables transaction handling." 

<**< zero disables transaction handling >**>

 

Code:

BatchMove.CommitCount:= 0;

 

Compiling, ok

 

Execute program, error:

"[FireDAC][Comp][DM]-611. CommitCount must be greater than zero"

 

 

Thanks

Responses (2)
  • Accepted Answer

    Thursday, January 11 2018, 12:01 AM - #Permalink
    0

    Eric, I have noticed the same problem when moving data to a Microsoft SQL Server with Delphi Seattle Update 1.

    Have you created a support issue at https://quality.embarcadero.com ?

    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, September 26 2017, 05:15 AM - #Permalink
    0

    Simple sample with CommitCount set to 0 (interbase)

    https://github.com/Sandy97/FDCommitCount0 

    works well

    The reply is currently minimized Show
Your Reply

Please login to post a reply