Datasnap\FireDAC: Query executed twice
问题 I have the following problem: 1) I use Delphi XE7 to develop a 3-layer system. 2) The server layer, created with datasnap using REST. 3) I use Firebird as database and the access is performed with FireDAC. 4) I have a sequence with value 01 . 5) I created the following query in the server layer: Select GEN_ID (gen_my_sequence, 1) from rdb $ database 6) On the server returns the sequence value in the query is: 02 . 7) But the client layer returns 03. I do not understand why the query is