Subject Connect to Database calls Generator
Author Florian Hector
In my Application I noticed that the generator value of one table increased
without ever inserting new rows. When trying to find the portion of the code
responsible for that, I found that whenever the app. connects to the
database and steps through the querys to activate them, it also sends this
to the server:

SELECT GEN_ID ( GEN_TABBESTELL, 1 )
FROM RDB$DATABASE
PLAN (RDB$DATABASE NATURAL)

The generator GEN_TABBESTELL is defined as Generator_Link of one TIB_Query
and nowhere else.
The odd thing is, that this command is send to the server long after that
particular query has been prepared and opened.

Is there any property of the query which can possibly cause this?

Florian