My question is, how can I run 2 different "Execute SQL script" steps, so that they both run in one same session, not in 2 different?
In my transformation, I need to run one sql script at the very beginning of transformation process, to permit modifications on table. Then, I extract data from one database, manipulate them, and based on results I need to call some procedure (using another sql script) to update status of transformation in. I can't update status, if the first sql is not executed, and permission not granted.
Searches give me only 2 results:
- Select "unique connections" in transformations settings. This is not applicable, because it's available only in older versions of kettle.
- Select "make the transformation database transactional" - actually same thing as first one (new name of older property in new kettle). Seems like this is not actually what I want, because it doesn't work as I expect.
I'm working with Oracle database and kettle 5.1.0.
UPDATE:
In this picture, I have 2 "Execute SQL script" steps in sequence, blocked by appropriate steps. Seems like this scripts executed in 2 different database connections (sessions), so second one doesn't see the effect of first one.