Having had success with Customising RE by following your movie, I thought I’d try to customise some Generation;
I want to create my own versions of CreateTrigger() and CreateTriggerView() to force the use of CREATE OR REPLACE.
I’ve done the following;
- create new package extending Generations for Oracle 9i
- added PERCodeGeneratorOR9 (2027), a new class PERCodeGeneratorOR9mss (2027) and a generalisation into the meta model
- created methods CreateTrigger() and CreateTriggerView() both with;
parameter 1 Trigger Dispatch
parameter 2 Flag Integer
- put the modified code into the skeleton functions
- restarted TDM
… but my code isn’t being run.
I’m sure I’m missing something obvious, but I can’t see what.