I would like to create a component derived from
TOracleDataset.
I need to override the standard prepare sql
method, which should perform a kind of "macro substitution", to insert the schema owner of
db objects (which is known runtime only).
so the developer write an sql like this:
select *
from %OWNER%.Employee
and the component substitutes the macro with
the correct schema name.
In TQuery it is possible to overrider PrepareSQL (if i remember correctly..)
Is there something similar in DOA (we use 3.4.6)
TIA
Nicola
TOracleDataset.
I need to override the standard prepare sql
method, which should perform a kind of "macro substitution", to insert the schema owner of
db objects (which is known runtime only).
so the developer write an sql like this:
select *
from %OWNER%.Employee
and the component substitutes the macro with
the correct schema name.
In TQuery it is possible to overrider PrepareSQL (if i remember correctly..)
Is there something similar in DOA (we use 3.4.6)
TIA
Nicola